Looking at that isEven function hurts my soul on a spiritual level. Someone's literally checking if a number is even by hard-coding individual cases (0 is even, 1 is odd, 2 is even, 3 is odd...) instead of just using the modulo operator (return num % 2 === 0). And they're doing this while casually flying 30,000 feet in the air with a gorgeous view! The perfect combo of terrible code and flex. My sanity would jump out that window faster than you can say "runtime complexity."
What's Stopping You From Coding Like This?
5 months ago
189,397 views
0 shares
typescript-memes, algorithm-memes, bad-code-memes, iseven-memes, programming-horror-memes | ProgrammerHumor.io
More Like This
Stop Doing JavaScript
6 months ago
237.5K views
0 shares
I Understand How TS Works And Can Parse Dates
6 months ago
190.8K views
0 shares
Actually, It's A String
2 months ago
251.8K views
1 shares
The Usual Suspects
5 months ago
332.2K views
0 shares
It Will Happen, I'm Telling You
7 months ago
204.1K views
0 shares
The Holy Trinity Of Web Development
5 months ago
242.3K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp