You are viewing a single thread.
View all comments
148 points

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

permalink
report
reply
101 points
*

Look at what you’re missing!

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

permalink
report
parent
reply
7 points

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.

permalink
report
parent
reply
12 points
*

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)

permalink
report
parent
reply
-11 points

How’s the view up there on your high horse?

permalink
report
parent
reply
15 points
*

Must be pretty good, considering literally every time I check in on the JavaScript community it is somehow more on fire than it was last time. I guess I must have a front row seat to all their misfortune. Either that or they’re just incompetent, but it couldn’t be that, could it?

permalink
report
parent
reply
27 points

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

permalink
report
parent
reply
49 points
*

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.

permalink
report
parent
reply
14 points
*

Python has other stupid problems related to pip. As much as stupid micro-dependencies suck in Javascript, they’re not the shitshow managing dependencies in Python is. It’s an inefficiency that never actually caused me noticeable issues in my former webdev life.

And let’s not talk about C++… People reinvent all sorts of wheels all the time because sharing anything is so annoying.

permalink
report
parent
reply
12 points

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?

permalink
report
parent
reply
38 points

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.

permalink
report
parent
reply
170 points

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

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 7.1K

    Monthly active users

  • 730

    Posts

  • 11K

    Comments