| ▲ | MagicMoonlight 4 hours ago | |
He gets very angry about things. I remember arguing over how go is a meme language because the syntax is really stupid and wrong. e.g. replacing logical syntax like "int x" with "var x int", which is much more difficult to process by both machine and human and offers no benefits whatsoever. | ||
| ▲ | array_key_first 4 hours ago | parent [-] | |
var x: int is much easier for a machine to parse and let's you do some neat things. For example, in C++ because the type must come first, you have to use "auto" - this isn't necessary in langs who put the type after the variable name. It also helps avoid ambiguous parsing, because int x; conflicts with some other language constructs. | ||