3 ms·
He addresses this point in the article: > [...] we would have to go gently and open up for allowing new C99 features slowly > A challenge with that approach,
by pizza234 4y ago
He addresses this point in the article:
> [...] we would have to go gently and open up for allowing new C99 features slowly
> A challenge with that approach, is that it is hard to verify which features that are allowed vs used as existing tooling normally don’t have that resolution.
> The question has also been asked that if we consider bumping the requirement, should we then not bump it to C11 at once instead of staying at C99?
The motivation ultimately boils down to:
> Ultimately, not a single person has yet been able to clearly articulate what benefits such a C flavor requirement bump would provide for the curl project
- sanxiyn 4y agoI mean, I am not a curl developer so I don't get to vote, but restricting variable scopes to loops alone sounds worthwhile to me.
- jmull 4y agoYou can still add a set of curly braces around the loop to scope variables. The syntax isn't as nice, and you have to remember to do it (maybe a linter can help with that) but it ends up more of a "nice to have".