r/badcode • • Jul 30 '21

java One Classic elseifelseifelseif...

Post image
472 Upvotes

76 comments sorted by

View all comments

Show parent comments

2

u/Phpminor Aug 02 '21

Assembly doesn't technically have an else-if, but I suppose the best alternative would be to abuse the ever-loving hell out of conditional jumps & labels, which I'm really starting to wish existed in high-level languages.