3 ms·
Biggest semantic baggage of go over python that I've experienced: * Lack of exceptions causes a lot of noise. Wrapping a bunch of code in try/catch is just mor
by m0th87 13y ago
Biggest semantic baggage of go over python that I've experienced:
* Lack of exceptions causes a lot of noise. Wrapping a bunch of code in try/catch is just more terse.
* Lack of parametric polymorphism means there's no useful higher-level functions like map, fold, etc.
- asdasf 13y agoI find the opposite on the error handling. The lack of exceptions is one of the few things I like about go. I just wish they had done error handling correctly instead of the stupid kludge they put in because "durr what is an ADT?". I agree that the lack of parametric polymorphism makes go essentially useless, I just don't understand how python is any better. It also lacks parametric polymorphism, and in fact polymorphism period. It is a unityped language.
- fedesilva 13y ago"* Lack of parametric polymorphism means there's no useful higher-level functions like map, fold, etc." This is one of my problems with Go, too. This will add line after line of repeated code in the long run. Time will tell.