logoalt Hacker News

u8 • today at 1:54 PM • 5 replies • view on HN

This is why I love Go. Nobody was asking for this, but they took the time to do it right and continue to Push go as a memory safe, high-level systems language.


Replies

physicsguy • today at 3:57 PM

People were definitely asking for it.

➕ show 1 reply
nonethewiser • today at 5:55 PM

This is kind of the opposite of Go. Not giving people what they are asking for.

There are pros and cons of course. You don't have 17 different ways to iterate over an array, so that's nice. But you also went 13 years without generics, despite them being one of the most requested features, because the designers didn't want that complexity inside Go.

Overall I think Go is better for this philosophy but there are times where the language is clearly written more for its maintainers than it's users.

➕ show 2 replies
pjmlp • today at 3:40 PM

Mostly safe, contrary to other safer languages, Go memory model doesn't prevent data tearing.

__s • today at 1:57 PM

go data races aren't memory safe

➕ show 4 replies
OutOfHere • today at 2:08 PM

(removed)

➕ show 3 replies