this post was submitted on 05 May 2025
497 points (100.0% liked)

Programmer Humor

23417 readers
2527 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 50 points 2 weeks ago (9 children)

I know this is for fun, but as general advice to the homies, if a language or system is doing something you didn't expect, make sure to look at the documentation

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt

This will save a lot of time and headaches

[–] [email protected] 10 points 2 weeks ago (2 children)

I'd advise to always look into the corresponding documentation before using something from any library.

[–] [email protected] 14 points 2 weeks ago

I'll go with 5 hours of debugging, thank you very much!

load more comments (1 replies)
load more comments (7 replies)