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
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.