by general_failure · 11y ago · 0 comments
This is how it is done in ML, Haskell, Erlang, Rust, Smalltalk, etc...
It's mostly just C-like languages that do it the other way.
Go types syntax is well done, IMO, even though I'm not into Go language that much (I rather Rust).