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
1 month ago
88,893 views
0 shares

javascript-memes, string-manipulation-memes, parseint-memes, hacks-memes, code-horror-memes | ProgrammerHumor.io
More Like This
I don't know how to use python or JavaScript at all and I spent an hour and a half looking for this tiny mistake, how do you guys do this?
1 year ago
24.6K views
0 shares

What Is Jquery Anyways
6 months ago
27.5K views
0 shares

the life of a programmer
3 years ago
27.5K views
0 shares

Best Languages for Hacking
2 years ago
24.8K views
0 shares

You Know What Language It Is
12 days ago
78.0K views
0 shares

Javascriptcoke
5 months ago
18.1K views
0 shares

Loading more content...