Re:Game Jam 2 Results
by TakeBlaster16 on Friday September 09, 2022 @11:35AM
(#32780494)
Strawman. Incremental compile times don't hit 2-5 minutes in either language, otherwise it obviously wouldn't be viable for real-world use.
And juggling variables was an ongoing ordeal when I tried. I can't imagine how you would work on code without changing any of the variables.
Re:Game Jam 2 Results
by throwawaymaths on Friday September 09, 2022 @11:59AM
(#32780847)
It's really not a problem for me. I've worked on probably about 20k LOC of zig. Probably the one time it was an issue was when I wrote some code that wrote zig -- and then it pushed me into realizing that this was a code smell, and a refactoring fixed it.
Compile times of 2-5 minutes can happen in langs that are not rust. You mentioned rust, not me. And anyways the 30s to hn thing is real.
> (you can leave those underscores in and clear them out before release)
You can leave those "unused variable" warnings and fix them before release
The difference is that warnings are visible, the underscores however suppressed the compiler's ability to help you.
If it gets to 2-5 minutes the likelihood that you stop writing tests and rely on the compiler for bugfreeness goes up - or the likelihood that you create debt by increasing the complexity of your code organization.