*stares through you, not making eye contact*
while-else.

the first line goes in Cohost embeds
๐ฅ I am not embroiled in any legal battle
๐ฆ other than battles that are legal ๐ฎ
I speak to the universe and it speaks back, in it's own way.
mastodon
email: contact at breadthcharge dot net
I live on the northeast coast of the US.
'non-functional programmer'. 'far left'.
conceptual midwife.
https://cohost.org/NireBryce/post/4929459-here-s-my-five-minut
If you can see the "show contact info" dropdown below, I follow you. If you want me to, ask and I'll think about it.
*stares through you, not making eye contact*
while-else.
i love shit like this where the (or at least my) first reaction is "why would that work" and the second reaction is "wait why would that not work"
I think 'then' would be a better keyword, but then it would be less poetic, and new people would stop indenting your code to 'fix' it.
it does make a lot more sense in for...else.
but I would also say that, outside of the specific circumstance it's for (do this once something found) it's already something people should avoid unless they really need