4 ms·
> They should add something I disagree. > to run code when leaving a scope, no matter how you leave This, and various other features, were already added to C
by kazinator 8y ago
> They should add something
I disagree.
> to run code when leaving a scope, no matter how you leave
This, and various other features, were already added to C long ago. The resulting dialect was called C++.
- bunderbunder 8y agoI'm not sure I understand what you're getting at here. Are you implying that people who want new features in C should just migrate to C++ because it has even more features? Or that C is perfect as-is and anyone who wants to add new features to it should bug off to another language? Or that this particular feature is somehow equivalent to (or a slippery slope toward) adding a whole set of OOP features to C, so we might as well take that to its logical conclusion?
- kazinator 8y agoPretty much all of the above.
- bunderbunder 8y agoI'd like to hear you elaborate. You seem to be very invested in your concerns, but it's hard to understand exactly what they are. A single, clearly articulated response would do a lot more than a fusillade of terse barbs to help others understand why you think this is a bad idea.