Re:Why Zig When There Is Already CPP, D, and Rust? (2017)
by dgellow on Monday October 15, 2018 @01:48AM
(#18217667)
C has clearly other issues than just a lack of features.
Re:Why Zig When There Is Already CPP, D, and Rust? (2017)
by btschaegg on Monday October 15, 2018 @08:13AM
(#18219049)
You could very well argue, however, that many of the issues with C are symptoms of a lack of some specific features. To work around that, you need just as much discipline (to avoid, for example, buffer overflows) as you would need not to misuse the features that aren't there.
That's more or less the reason I too don't find "multiple people projects may have problems with discipline" to be a good argument for anything. That's a culture issue and pretty much orthogonal to any technical factor of your environment, including the choice of programming language.
Even if true, so what? "Personal projects" don't count?
But honestly, this is one of the worst programming language arguments there is. Any feature can be misused. There has to be discipline - full stop. Restricting the language is not the answer because that just leads to worse code, not better. Decades of C code demonstrates that lack of features does not translate into good programming practice.