1033
you are viewing a single comment's thread
view the rest of the comments
[-] Scoopta@programming.dev 33 points 1 day ago

As someone who mostly avoids JavaScript, I don't see the IT in this image, I just see a bad language I avoid!

[-] JackbyDev@programming.dev 3 points 3 hours ago

I promise you, people make mistakes in every language lol.

[-] blackn1ght@feddit.uk 12 points 1 day ago

This isn't the languages fault, it's the developers.

[-] sukhmel@programming.dev 4 points 5 hours ago

Albeit true, I want to note that some languages encourage such practices way more than others do. Also, when you've got a hammer everything looks like a ~~string~~ nail.

[-] CanadaPlus@lemmy.sdf.org 2 points 5 hours ago
[-] Scoopta@programming.dev 1 points 7 hours ago

I'm assuming by this you mean the developers of JS /s

[-] copd@lemmy.world 4 points 17 hours ago

besides NaN actually being a number, this could completely and easily be avoided with typescript.

[-] rooroo@feddit.org 5 points 10 hours ago

Naaah. Good programmers know how to use as any as any to make this work in typescript as well.

[-] davidagain@lemmy.world 2 points 1 day ago

I had the exact same reaction.

this post was submitted on 28 Jun 2025
1033 points (99.1% liked)

Programmer Humor

24587 readers
827 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