News for hackers. Stuff that matters.

_will_cham_23

Re:Half a million lines of Go on Monday May 17, 2021 @01:01AM (#27180204)
>> the problem I have with it is primarily it feels really outdated for a "modern" language

It's mostly not about the language. An exception is of course when moving from a dynamically typed interpreted language to a statically typed compiled language.

The success of projects depends much more on other things than the programming language. It's about

- Processes and standards, like following a well defined structure, testing, documentation, ...

- Maintainability of code. It must be easy to read, to understand syntactically and to build a mental model of the code

- Long term reliability and stability of the eco system

- Easy and reliable tooling

- Developer efficiency, e.g. compile times

Go shines in many of the aspects. Especially in maturity, stability, amazing standard lib and tooling. As you mention Rust: This is exactly where Rust falls short. Rust is a great language with amazing people behind it. But there are reasons why its adoption in the broad real world is very, very small. The reasons are not the language. So I always feel it's a bit invasive when Rust promoters enter Go or Java threads by telling how much better Rust as a language is.

In this example Go has additional benefits being statically typed and compiled, very fast and with build in concurrency support.