Hacker News new | ask | show | jobs
by rahen 1386 days ago
Go was created for correctness. It is strongly, statically typed, it won't compile if there are unused imports or variables, and it won't compile either if you don't free up resources after usage. C/C++ don't do that and have UBs.

Go is in the same ballpark than C#: a modernized C with GC, good productivity although not as good as a scripting language, and good performance although not as good as ANSI C. They're popular because they stand in that sweet spot.

Python is easier than Go or C# to pick up, but it's also 20x slower than C rather than 2-3x.

1 comments

Correctness may have been a goal of the Go language authors but they don't seem to have achieved it.

I could find countless other comments about this on HN, but here's the top hit in a quick search. https://news.ycombinator.com/item?id=26632821