News for hackers. Stuff that matters.
Re:Goodbye to the C++ Implementation of Zig by acedTrex on Thursday December 08, 2022 @05:03PM (#33914269)
> It is an objectively incorrect generalization to say that people dislike Go

It is not, people USE go, they do not like go really.

Re:Goodbye to the C++ Implementation of Zig by bmurphy1976 on Thursday December 08, 2022 @05:18PM (#33914506)
Nonsense. I love it and I've been programming since the 80's.

I watched (and used) C++ as it grew into the monstrosity it is today. I've written and maintained production code in F#, C#, Python, Ruby, Perl, Java, JavaScript, Go, PHP, Lua, VBScript, Visual Basic, C, and C++ and every variant of shell scripting imaginable.

I've spent time working with Erlang, Haskell, Rust and a variety of other exotic languages because I found it interesting. I created a port of Clojure's Transducers to C# because I could.

I am not afraid of abstractions, functional programming, or complicated CompSci concepts. And yet I keep going back to Go.

Re:Goodbye to the C++ Implementation of Zig by titzer on Thursday December 08, 2022 @06:49PM (#33915486)
PL arguments are like:

"I like icecream."

"You idiot! I hate icecream and think everyone who likes icecream is a raging moron who deserves having their teeth rot out of their head! I wish their teeth would rot out tomorrow because I am so sick of waiting for it!"

Re:Goodbye to the C++ Implementation of Zig by booleandilemma on Thursday December 08, 2022 @06:13PM (#33915101)
I like Go as a language in the abstract sense, but the experience of writing Go code is so tedious to me. Refusing to compile if there's an unused variable or unused import is too harsh - at least give me the option to make these things warnings.
Re:Goodbye to the C++ Implementation of Zig by sidlls on Thursday December 08, 2022 @07:27PM (#33915833)
Having unused variables or unused imports makes the code dirty and should be treated as errors. It's one of the (few) good things about Go.
Re:Goodbye to the C++ Implementation of Zig by IlliOnato on Friday December 09, 2022 @07:05AM (#33920370)
In production code? Absolutely. While you experiment, write throw-away code, debug? Hell no!
Re:Goodbye to the C++ Implementation of Zig by wtetzner on Friday December 09, 2022 @09:14AM (#33921394)
Sure, but it’s a lot of extra friction when iterating/debugging.
Re:Goodbye to the C++ Implementation of Zig by s_c_r on Tuesday December 20, 2022 @01:01PM (#34069653)
My usual approach is to comment stuff out while debugging/developing. Works well.
Re:Goodbye to the C++ Implementation of Zig by thadt on Thursday December 08, 2022 @05:16PM (#33914481)
This is true, I don't really like Go. After years of writing code in Assembly, C, C++, Perl, Basic, C#, Java, Python, Rust, JavaScript, TypeScript, Lua, Zig, and Go I find that what I really like is good tooling, and code that is easy to read and reason about. Go the language and toolset happen to do this really rather well at the moment though.
Re:Goodbye to the C++ Implementation of Zig by lordgroff on Thursday December 08, 2022 @05:10PM (#33914384)
Really? I like Go, I might even love it.
Re:Goodbye to the C++ Implementation of Zig by phinnaeus on Thursday December 08, 2022 @05:11PM (#33914404)
I like Go