snek @snek.dev 路 Oct 29

possibly the most syntactically insane code i've ever written

6 likes 3 replies

?

Replies

馃嚭馃嚘 Ingvar Stepanyan 路 Oct 29

Instead of break + label you could put the stuff after "if" into an "else" branch.

Badger 馃彺鬆仹鬆仮鬆伔鬆伂鬆伋鬆伩 路 Oct 31

I go for the old If the status is 200, hope it's JSON. Otherwise throw an exception 馃槀

U

unpronounceable 路 Nov 1

Don't worry. Pretty sure I've done worse~~ Would have to search for where, but I'm *relatively* sure I committed some nested block labels somewhere at some point...