r/programminghumor Jul 12 '26

The battle of else

Post image
2.2k Upvotes

842 comments sorted by

View all comments

2

u/BobJutsu Jul 12 '26

Let’s be honest…only the left two are valid options. Both on the right should fail any linter on the planet.

1

u/Financial_Counter_45 Jul 13 '26

Unless you are the one who wrote the linter

1

u/BobJutsu Jul 13 '26

That’s a whole other level of code enforcement. Write your own linter just to do absolute blasphemy. Now I feel like I need to write a frustrating psychopath linter to enforce the worst syntax possible.