The eternal struggle between doing things right and doing things that work. Instead of using parseInt()
or Number()
like a civilized developer, this mad genius is just removing the quotation marks with replaceAll()
to convert a string to a number. It's the coding equivalent of using a hammer to screw in a lightbulb - horrifying yet somehow it works. The face on the left is every senior dev witnessing this crime against programming humanity, while the face on the right is the junior who's just proud they "solved" the problem without reading the docs.
Showing My Friend My Foolproof Parse Int Method
4 months ago
132,345 views
0 shares

javascript-memes, string-manipulation-memes, parseint-memes, hacks-memes, code-horror-memes | ProgrammerHumor.io
More Like This
The Break Operator Strikes Back
29 days ago
125.3K views
1 shares

Pls can we go back to traditional languages?
1 year ago
23.3K views
0 shares

Too Many Options
4 months ago
176.5K views
0 shares

I recently saw this Job posting and I cant stop laughing
3 years ago
108.3K views
0 shares

Npmis Owned By Microsoft As Well
1 year ago
30.8K views
0 shares

Loading more content...