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
7 months ago
187,289 views
0 shares
javascript-memes, string-manipulation-memes, parseint-memes, hacks-memes, code-horror-memes | ProgrammerHumor.io
More Like This
The Syntax Pedant's TED Talk
3 months ago
206.0K views
0 shares
But we might sell it as DLC later though
3 years ago
69.6K views
0 shares
Oof
3 years ago
105.9K views
1 shares
HTTP Status Code Handling Gone Wrong
3 months ago
228.1K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp