News for hackers. Stuff that matters.
Re:Thoughts on Go vs. Rust vs. Zig by hu3 on Friday December 05, 2025 @07:57AM (#46160668)
Global mutable state is like a rite of passage for devs.

Novices start slapping global variables everywhere because it makes things easy and it works, until it doesn't and some behaviour breaks because... I don't even know what broke it.

On a smaller scale, mutable date handling libraries also provide some memorable WTF debugging moments until one learns (hopefully) that adding 10 days to a date should probably return a new date instance in most cases.

Re:Thoughts on Go vs. Rust vs. Zig by port11 on Friday December 05, 2025 @11:09AM (#46163202)
Hey, don't tell that to front-end developers, we like our global stores accessible all over.
Re:Thoughts on Go vs. Rust vs. Zig by iLemming on Friday December 05, 2025 @11:17AM (#46163351)
It's because of the "status quo". Once you start using immutable-first language on the front-end, e.g., Clojurescript - your perspective changes.
Re:Thoughts on Go vs. Rust vs. Zig by port11 on Saturday December 06, 2025 @03:42AM (#46171700)
I know. I'm mostly gone from FE, the amount of cargo culting and “we do things that way because that's how it's always been” is toxic.
Re:Thoughts on Go vs. Rust vs. Zig by ClayShentrup on Friday December 05, 2025 @04:11PM (#46167372)
it's the classic Rich hickey talk. simple made easy.