News for hackers. Stuff that matters.
Re:Zig, the Small Language by laserbeam on Wednesday September 07, 2022 @11:33PM (#32760853)
I'll be honest, it's one of those things that sounds alienating and painful. I am only going to talk about my experience with warnings in general to explain why I support that design.

I had to work in python for a long time where code tends to be incredibly relaxed. When I switched to strict mypy typechecking at every build I became much much more productive and found and fixed dozens of bugs way earlier in development. I now am worried about all warnings and always strive to fix them.

I am also making an analogy to "not being allowed to smoke indoors" when I see these complaints. People hated those laws when they were first proposed but everyone's cool with having to do a tiny bit work for health and safety.

We'll see how communities play out, but I'm all for being rigorous.

There are no comments on this comment yet.