3 ms·
That's true. However, you would rarely use nested-else blocks like that to begin with. The whole point is that you can avoid deep nested scopes.
by FeepingCreature 3y ago
That's true. However, you would rarely use nested-else blocks like that to begin with. The whole point is that you can avoid deep nested scopes.
- narnarpapadaddy 3y agoWould it be possible to restrict the use of breakelse only to if statements that contain an else?
- FeepingCreature 3y agoSure, and I agree it's kind of misleading, but half my motivation is to skip past an optional if block. I think of it as 'else' being there, but empty.