4 ms·
> As I've said before, Go has the advantage of mediocrity. It's boring as a language, but it does automatically most of the things you need for web back-end stu
by SrslyJosh 6y ago
> As I've said before, Go has the advantage of mediocrity. It's boring as a language, but it does automatically most of the things you need for web back-end stuff.
Given that Go is essentially a safer, smarter C, it boggles my mind to see it being used for applications where getting the business logic right is much, much more important than performance or complicated bit-twiddling.
- paulryanrogers 6y agoWhat language should be used in those business-first cases?
- spamizbad 6y agoHigh-level, easy to read languages with large, robust ecosystems that your team has a high degree of proficiency coding.
- deleted 6y ago[deleted]
- llimllib 6y agoI have written a _lot_ of business logic in go, and I can say that imo it is a superb language for doing so. Vastly better than C, and I’m coming around to it being better even than my beloved python.
- bshanks 6y agoI'd be interested to hear your thoughts on why Go might be better than Python for business logic.
- throwaway189262 6y agoI echo this. I've been exposed to some Go at work recently, and Rust on my free time. I've been learning both over last few months. Go is like C. More like C than any other mainstream language I use. IMO this is bad. C is very verbose and hard to read. Rust is more like C++. Close to hardware but many high level language features. I could rant a lot about what I don't like about Go, but it boils down to this. No generics, bad package system, bad error handling, bad code generation, bad GC, limiting syntax encourages copy paste and bad abstractions, defying common conventions to be cute (like capitalization in variables), mediocre standard library. I love Rust more as I get better. I already hate Go for some of the above reasons, I wouldn't even use it if it wasn't for work. Google hypes Go like crazy, I'm convinced that's the only reason it's popular. I think there's many better options, even Java, that don't have many of the shortcomings listed above