Re:Go generics may use square brackets [] not parenthesis ()
by 72deluxe on Wednesday July 15, 2020 @05:47AM
(#23843078)
I wondered this too. It's not like there's a part of a language you MUST use. Perhaps they are fearful that it'll grow and grow and add features in that will make it difficult to learn and unwieldy. Stroustrup always said that new languages seem fast and easy to learn precisely because they are new languages and don't have the features of maturity. Perhaps this is the case here.
[ Parent
| on HN ]
Re:Go generics may use square brackets [] not parenthesis ()
by pjmlp on Wednesday July 15, 2020 @08:23AM
(#23844152)
He is quite right, yes C++ is a monster dragon, but most languages of similar age only look simple on the surface, even a beginners friendly language like Python.
Beneath that simple surface for beginners lies a multi-paradigm language, with overloading, metaclasses, dynamic code generation, multiple inheritance, breaking changes across minor versions in 30 years of history, a standard library that can be used as doorstep when printed, several implementations not 100% semantic compatible with CPython,.....