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?
22 days ago
100,606 views
0 shares

typescript-memes, algorithm-memes, bad-code-memes, iseven-memes, programming-horror-memes | ProgrammerHumor.io
More Like This
I think my GitHub is trying to tell me something...
3 years ago
62.3K views
0 shares

The Price Of Type Safety
2 months ago
121.0K views
1 shares

I don’t know where to start with this one
1 year ago
60.8K views
0 shares

Make Compilers Great Again
1 month ago
83.0K views
0 shares

Can a person really know ALL this?
2 years ago
128.9K views
0 shares

Saw this gem of a post on LinkedIn. Thought I would share
2 years ago
71.9K views
0 shares

Loading more content...