3 ms·
Needing to cast nil to a type was weird. C/C++/Java/Python don't do that. They also take on the weird Java-ish culture that everything is better if it's writt
by bb88 2y ago
Needing to cast nil to a type was weird. C/C++/Java/Python don't do that.
They also take on the weird Java-ish culture that everything is better if it's written in Go.
They also had this weird take on the C++ vtable, so they eschewed anything class like to keep everything statically linked for speed.
It also took them a long time to figure out their loop variable syntax was broken. So ... hrm.
- commodoreboxer 2y agoC++ and Java do make you cast null/nullptr, if you need to resolve an ambiguous overload based on pointer type.