Show newer

@wallhackio @aescling if you want to increment by 1 every time, one way i like to do that is with += 1

@monorail @wallhackio i would pat your head but im tiny and you’re all the way up there

@wallhackio @monorail idx should increment by 1 which is not what either of those would do

@vaporeon_ @wallhackio well.

let isErr = false;
err: {
if (isErr) {
// ...
} else {
// ...
isErr = true;
break err;
// ...
}
}

but that's terrible lol

@vaporeon_ @wallhackio like idk how you’d do the goto err; pattern with something like this

@vaporeon_ @wallhackio you can purrobably do cool nasty hacks with them since the labeled statement can seemingly just be an arbitrary code block

label1: {
// ...
}

but idk it seems a bit limited

@wallhackio @vaporeon_ to be clear the one liner was not remotely a serious suggestion, it'd be terrible

@vaporeon_ @alas @wallhackio but anyway, if you wrote a loop ending in i++ in the body, my furst thought would be “this is a for loop”

@wallhackio @vaporeon_ i bet you could write this loop in the form for (; [nasty conditional]; i++) { }, which would be the funniest option

@vaporeon_ i wonder if this is the html sanitizer as opposed to the markdown purrocessor

Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.