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
6 months ago
176,273 views
0 shares

javascript-memes, string-manipulation-memes, parseint-memes, hacks-memes, code-horror-memes | ProgrammerHumor.io
More Like This
Debugging Javascript
3 years ago
112.4K views
0 shares

Front End Web Development in 2017
4 years ago
69.1K views
0 shares

Found my new favourite URL shortner
3 years ago
134.9K views
0 shares

HTML And CSS: The Complete Developer Toolkit
3 months ago
196.6K views
0 shares

Summary of discussions around JavaScript
3 years ago
57.7K views
0 shares

I Missed The Part Where That's My Problem
4 months ago
124.2K views
0 shares

Loading more content...