3 ms·
Odin is rather clean and seem to be consistent with the colons. foo :: proc(x : int, y : int) -> int { sum : int = x + y return sum } or foo ::
by masfoobar 2y ago
Odin is rather clean and seem to be consistent with the colons.
foo :: proc(x : int, y : int) -> int {
sum : int = x + y
return sum
}
or
foo :: proc(x : int, y : int) -> int {
sum := x + y //
return sum
}