3 ms·
Why do you this authors of these programming languages try to creat a different set of keyword names and syntax. If google liked python why not follow the alrea
by scared2 6y ago
Why do you this authors of these programming languages try to creat a different set of keyword names and syntax. If google liked python why not follow the already familiarpython syntax to create go?
- jhanschoo 6y agoDifferent languages have different semantics, so the language designers choose to use a different syntax to reflect the different semantics.
- WalterBright 6y agoWe also use different syntax in places where the original was known to be a source of problems. For a trivial example, `unsigned long long` is annoyingly long to type, `ulong` is much better. `uint64` seems at first impression to be better because the bit length is in the name, but digits are harder to touch-type, not so pleasing to look at, and after using the language for a day the reminder that it is 64 bits gets tedious.