News for hackers. Stuff that matters.
Re:Interview with Ryan Dahl, Creator of Node.js by spraak on Thursday August 31, 2017 @01:06PM (#15141827)
Using ideas from history isn't a problem. And Go is unique in that it combined all these learned lessons into something new.
Re:Interview with Ryan Dahl, Creator of Node.js by camus2 on Thursday August 31, 2017 @01:16PM (#15141906)
> Using ideas from history isn't a problem. And Go is unique in that it combined all these learned lessons into something new.

what learned lessons, like pragmas and struct tags?

Re:Interview with Ryan Dahl, Creator of Node.js by jerf on Thursday August 31, 2017 @02:27PM (#15142587)
A lot of is more in what was taken away rather than what was added.

As someone who is occasionally accused of being too pro-Go on HN... I actually have no problems thinking of Go as a really nice and refined 1990s language. Another type of "Java done right". (I say "another" because I think C# has a really good claim to that as well, albeit in a very different direction.) There's a place for that in the world. As much as I love the cutting edge of programming languages too, I'm not sure that we're anywhere near as far along on knowing how to build really big systems with them as a lot of people think we are. (There's only one way to get there though, and I absolutely encourage people to keep trying.)

Re:Interview with Ryan Dahl, Creator of Node.js by camus2 on Thursday August 31, 2017 @03:20PM (#15143040)
> A lot of is more in what was taken away rather than what was added.

Given the fact that C is basically the blueprint for Go, I'm not sure what things were taken away from C, syntactically speaking. It's more like Go added garbage collection to C, and a few other bells and whistles and told people : "this is 21th century programming", without actually thinking about what C got wrong at first place.

Re:Interview with Ryan Dahl, Creator of Node.js by jerf on Friday September 01, 2017 @09:07AM (#15148024)
"I'm not sure what things were taken away from C, syntactically speaking."

Pointer arithmetic. Go has "pointers" but they're really more references. Some other things depend on how you look at them; Go "removes" manual memory management from the language by adding GC, it "removes" the fact that in C values are essentially untyped and very easy to penetrate down to that untyped layer by making all values carry their type around regardless, they "remove" the limitations on function pointers to provide real closures, they "remove" trivial array overflow by adding checked access, there's a lot of rough edges removed from C at the language level even if it required "adding" some runtime support.

I mean, by the time you've removed pointer arithmetic and manual memory management, you are by no stretch of the imagination in C anymore.

Re:Interview with Ryan Dahl, Creator of Node.js by Zelizz on Thursday August 31, 2017 @05:11PM (#15143972)
What mistakes does Go copy from C?
Re:Interview with Ryan Dahl, Creator of Node.js by geodel on Thursday August 31, 2017 @09:10PM (#15145381)
Getting popular despite being not an "objectively" better language.
Re:Interview with Ryan Dahl, Creator of Node.js by int_19h on Friday September 01, 2017 @06:37AM (#15147363)
"A really nice and refined 1990s language" really is a perfect description of Go (and also explains why some people love it with a passion, while others can't understand what all the fuss is about).