Content deleted Content added
Combined two sources |
mNo edit summary |
||
Line 69:
=== Explicit procedure overloading ===
Odin has [[Function_overloading|procedure overloading]], but unlike languages like C++, the overloads have to be specified explicitly:<ref>{{cite web |title=Odin programming language review (procedure groups) |url=https://graphitemaster.github.io/odin_review/#procedure-groups}}</ref>
<syntaxhighlight lang="go">
bool_to_string :: proc(b: bool) -> string {...}
|