3 ms·
Oh come on now, it's not completely unusable, just "unusable in a ton of important use cases".
by dnautics 5y ago
Oh come on now, it's not completely unusable, just "unusable in a ton of important use cases".
- AndyKelley 5y agoPoint taken, but I will defend my claim: The few use cases where it does work are footguns because in the future, you or another collaborator will be tempted to wrap the code into a block, which is normally 100% safe for all other features of the language. It would be easy to do without thinking about it. But if you do it becomes UB as demonstrated above. So the reasonable policy would be to use the same cleanup method everywhere, to avoid footgun firing when code is edited.