Elektrine lite

← Feed

@testaccount789@sh.itjust.works

Post #2723211

2026-05-20 21:05 UTC

UUUuuuuuh, I am not a programmer (you’re going to say “thank god”), but… I sometimes even chain them. You can put yet another ternary operator in the else and keep going. You know, else-if. So anyway, I can get ternary operators spanning 2 - 3 lines. Oh, I also often have issues thinking of proper loops, so you’d see a few terribly used goto statements. Although I do remove ones that are obvious brain fart. For example, quite obvious void example(bool true_or_false){ if(true_or_false){ //code if true } else{ //code if false } //other code } Well, I’ve already had my brain goof up even that once or twice. “How the fuck”, you’re asking? void example(bool true_or_false){ if(true_or_false){ goto if_true; } //code if false goto end_false_if; if_true: //code if true end_false_if: //other code } The brain-fart if-else.

Replies (2)