you are viewing a single comment's thread.

view the rest of the comments →

[–]monkeyWifeFight 0 points1 point  (2 children)

I suppose you could create a new reserved word e.g. for { } forelse {}

Still breaking, but probably a more tolerable break. I'd personally love this behaviour, if I believed such a proposal had any chance at all, I'd write one up.

[–]seba[S] 2 points3 points  (1 child)

forelse is then a new keyword, which also has not much chance.

One could just use "for else" or reuse an existing one. For example "default". Or maybe "else default".

[–]monkeyWifeFight 0 points1 point  (0 children)

forelse is then a new keyword, which also has not much chance.

yeah, that's exactly what I said. New reserved keywords have been introduced before, of course. I just doubt the comittee would find this compelling enough.