Skip to content
View A1029384756's full-sized avatar

Block or report A1029384756

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
A1029384756/README.md
package main

import "core:fmt"
import "core:math/rand"

main :: proc() {
    programmer := Programmer {
        name      = "Hayden Gray",
        languages = {
            "Python",
            "C",
            "Go",
            "C++",
            "Rust",
            "Odin",
            "Dart",
            "JS/TS",
            "Terraform"
        },
    }

    programmer_hello_world(programmer)
    product := programmer_do_work(programmer)
}

Programmer :: struct {
    name:      string,
    languages: []string,
}

programmer_hello_world :: proc(p: Programmer) {
    fmt.printfln("Hello, my name is {} ", p.name)
}

Product :: struct {}
programmer_do_work :: proc(p: Programmer) -> Product {
    language := rand.choice(p.languages)
    done: bool
    product: Product

    for !done {
        //Do Work
    }

    return product
}

Pinned Loading

  1. mixologist mixologist Public

    simple linux volume mixing

    Odin 9

  2. nix-config nix-config Public

    Nix