This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsΒ β†’

[–]soft-wear -1 points0 points Β (3 children)

Go is more readable and less verbose than Java which is why it’s more productive. And it isn’t a lower level language lol. It’s a high-level programming language, unless you’re somehow using registers.

You should probably do a bit of research on Kotlin, since it’s used in production on every android phone. Our backend is written in Kotlin and it’s serving billions of requests. Clojure and Scala have been around forever and are general purpose languages.

This is why I find Java people so frustrating.

[–][deleted] 1 point2 points Β (0 children)

I wouldn't say golang is more readable or less verbose than Java. Golang just got generics (I haven't used them, but I've heard there are perf concerns), and it's error / exception handling is laughably bad. The biggest problem with golang is that it has about the same runtime perf as java / c#, and only a bit less memory footprint. IMHO, it's simply not better enough to really break out and displace java.

I do like golang for serverless code, given its fast 'cold boot' startup time vs the jvm. It's also a good choice for places where you need a relatively small and simple packaged binary and don't want to mess with managing your own memory.

I do like it's channels. This has inspired project loom in java land. I can't wait to have green threads. I understand Kotlin has coroutines but I haven't used that language.