743
average day in NPM land (programming.dev)
submitted 10 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 151 points 10 months ago

Another day of being extremely thankful I decided not to learn JavaScript

[-] [email protected] 174 points 10 months ago

I mean, the people relying on such packages didn't learn it either.

[-] [email protected] 105 points 10 months ago* (last edited 10 months ago)

Look at what you're missing!

Edit: also, is-odd depends on is-number

[-] [email protected] 13 points 10 months ago* (last edited 10 months ago)

These are both made by the same person from this PR (who also made both the package the PR is on, and the is-number package that is being removed as a dep)

[-] [email protected] 8 points 10 months ago

Heaven forbid they make a package is-even-or-odd with both. Wait. Don't give them ideas. They'll just make it depend on both.

[-] [email protected] 29 points 10 months ago

This can happen in any project that uses dependencies, javascript or not

[-] [email protected] 51 points 10 months ago* (last edited 10 months ago)

Sure, but when was the last time you saw, say, a Python project using some third-party library instead of simply calling isnumeric() from the standard library?

There's a reason for these jokes always being about Javascript.

[-] [email protected] 12 points 10 months ago

I only glossed over it… but this looks like it’s trying to check dynamic typing issues? It’s like a statically typed language with extra steps?

[-] [email protected] 38 points 10 months ago

I don't think typescript exists because JavaScript wasn't designed to be statically typed. I think Typescript exists because JavaScript wasn't really designed, period.

this post was submitted on 31 Jul 2024
743 points (99.3% liked)

Programmer Humor

23609 readers
1435 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