1109
you are viewing a single comment's thread
view the rest of the comments
[-] copd@lemmy.world 4 points 11 months ago

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

[-] rooroo@feddit.org 7 points 11 months ago

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

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

Programmer Humor

31585 readers
1161 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 3 years ago
MODERATORS