5 ms·
You and me both, in fact I made my voice heard in the Github issue. What's damning is how much Stockholm Syndrome there is around this feature, with people say
by sph 4y ago
You and me both, in fact I made my voice heard in the Github issue.
What's damning is how much Stockholm Syndrome there is around this feature, with people saying it's no big deal and it helps catch bugs. It's more annoying than helpful, and it catches a very small amount of corner cases, while completely killing productivity.
And you know what's the reasoning behind this? "Zig doesn't have warnings." As if it's a massive undertaking to add warnings to a compiler. What a sorry excuse.
I have ranted about this before, so I already feel my blood pressure going up.
- ok_dad 4y agoSo don't use Zig? I don't get why you're so angry about something someone else likes. Just don't use it or look at it! So easy...
- RussianCow 4y agoIf I didn't use any programming language that I hated any part of, I wouldn't be able to write code.
- md224 4y agoWhat if the person you're replying to really, really likes Zig except for this one aspect of it?
- ok_dad 4y agoThen they shouldn't get so mad at something that's merely annoying; it's bad for the heart and circulatory system.
- chongli 4y agoSo don't use Zig? I see this comment a lot in response to feedback: "Don't like it? Don't use it!" Every single time, it reads to me as "stop complaining!" For as many times as I've seen the comment, I haven't been able to read it any other way. Am I being uncharitable or is it really just a clear-cut attempt to silence debate?
- geodel 4y agoWell it would depend on context. For a FOSS software in domain where there are tons of other options, it is much easier to use what one likes and ignore what one doesn't. So calling it silencing the debate sounds too strong when software in question is not some controlling the world type. On the other hand in case cloud services like those provided Google/FB/Twitter/Cloudflare etc it is much more difficult to just go with "Don't use if you don't like" because not only there are not much alternative but also because sometimes Cloud service providers act in unison. So if one is pushed out from a service they are likely to be pushed from all other services too.
- ok_dad 4y agoYea, I was under the assumption there are literally thousands of programming languages and you can fork most of them when I replied. I’m not usually a “just don’t use it” kind of guy, but in this case it’s valid, imo.
- chongli 4y ago"Don't like it? Just fork it!" is a variant I see a lot in the FOSS world. It's equally pernicious in my view. Either you end up maintaining your own fork that nobody uses (and who wants to do that) or the fork is successful and half the community starts hating you for causing more fragmentation. Perhaps the most recent example of this I can think of is neovim, though in the language world python 2 vs 3 is so infamous that people have started hating the entire community from the outside. All of this says to me that Zig is taking the wrong approach. Making highly controversial, opinionated features the standard with no way to opt out just leads to these endless debates. Languages (or any tools, for that matter) that stay out of the debate and just give everyone a flag tend to have much more welcoming communities.
- LAC-Tech 4y agoBecause only get upset about this because they love zig
- kristoff_it 4y ago> And you know what's the reasoning behind this? "Zig doesn't have warnings." As if it's a massive undertaking to add warnings to a compiler. What a sorry excuse. Setting aside the unused variables issue for a moment, you might want to take a moment to ponder the fact that not having warning messages is an explicit design choice, not a missing feature.
- lopatin 4y agoA dogmatic one, by the sounds of it.
- avgcorrection 4y agoMaybe this becomes the equivalent of `go fmt` in 10 years. “How I learned to stop worrying and love errors-only”
- edflsafoiewq 4y agoWe've had -Werror forever, the consensus is it's a bad idea. In addition to everything else, you can't ever change the warnings, including fixing bugs in them, without potentially breaking code.
- von_lohengramm 4y ago> We've had -Werror forever, the consensus is it's a bad idea. Says who? Package repo maintainers? -Werror is actually quite divisive.
- plorkyeran 4y agoAnyone who wants to be able to compile a program with a different or newer compiler than the author last tested it on.
- kristoff_it 4y agoWell if one never stops to think about its potential merits, it can surely only be perceived as dogmatic. One thing is evaluating a choice in its full context and not liking it, another is demanding to have your vision be understood and accepted without being willing to grant the same courtesy first.