News for hackers. Stuff that matters.
Re:Go: What We Got Right, What We Got Wrong by FridgeSeal on Friday January 05, 2024 @03:10AM (#38876860)
> That's by design, right? Go is very opinionated. They looked at other languages that they hated, e.g., C++/Java and didn't want to replicate them.

It’s a pity there’s no other languages in the world that they could have taken good design from, rather than looking at a handful of languages they didn’t like and basically throwing the baby out with the bath water.

Re:Go: What We Got Right, What We Got Wrong by bb88 on Friday January 05, 2024 @01:51PM (#38882971)
I've always thought the best languages were just a step up from another language.

C with garbage collection that compiled natively and had a sane FFI to C would be a good addition. Add a decent library to get work done quickly and you've got a great solution.

That's what it felt like golang was trying to do. I do think it's easier to pick up than C. But it's not something I would say, you must write your code in.