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

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

[-] rooroo@feddit.org 4 points 8 hours 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
997 points (99.1% liked)

Programmer Humor

24558 readers
922 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