IsOdd And IsEven Are Real NPM Packages?!?

preview_player
Показать описание
There are some bizarre NPM packages and one set of those are IsOdd and IsEven but not only these packages also the 1,400 other packages by this same developer, why do they exist? Well stick around to find out.

==========Support The Channel==========

==========Resources==========

=========Video Platforms==========

==========Social Media==========

==========Credits==========
🎨 Channel Art:
Profile Picture:

🎵 Ending music
Track: Debris & Jonth - Game Time [NCS Release]
Music provided by NoCopyrightSounds.

DISCLOSURE: Wherever possible I use referral links, which means if you click one of the links in this video or description and make a purchase I may receive a small commission or other compensation.
Рекомендации по теме
Комментарии
Автор

he should release an NPM package which determines whether an NPM package is from him or not

GameCyborgCh
Автор

Don't be shocked at John's work. Be shocked that it is so needed.

act..
Автор

this explains why modern webpages can barelly fit in a 700mb CDrom, all to present 3 images, one slider and 500 trackers

frny_
Автор

The story about him learning programming for is-odd is cute, but its hard to believe he made 30 packages for ansi-colors for "learning"

pn-pompf
Автор

I really cannot blame the left-pad developer to be honest.

theoneand
Автор

Web development as an industry is broken maybe beyond repair.

PwnySlaystation
Автор

i love how brodie goes full Aussie when he's annoyed lol

someguy
Автор

why did JS failed to drown it self?
.
.
.
.
.
because it only knows how to float!

da_nn
Автор

import one from 'one';
import two from 'two';
import plus from 'plus';
import consoleLog from 'console-log';
consoleLog(plus(one, two));

adambright
Автор

theres also a rust library called isnt-even-nor-odd (i contributed to it by copying the tests from another package)

ukaszzajac
Автор

He should silently update is-even to also just be a negation of is-odd.

snap_oversteer
Автор

NPM is the reason why i don't trust programming language package management.

tato-chip
Автор

To be honest, it's not his fault or NPMs fault. It's JS fault. If it wasn't for type coercion, unsafe numbers and undefined, null, prototype, Object and Array implementation, lacking std, etc; people would've just move on. I don't see that kind of problem in Python, Go, Java, C or whatever, because these languages either have all you need implemented already, or it's easier and more reasonable to do it yourself. When I write go, I write go. If I need something and it's not in std, I write my own or copy-paste it from SO. The only packages I have are huge things like zap, pgx, disgord; or something like custom errors wrapper and UUID. The go.mod file lists all the packages that are used (even indirectly) and it's usually under 20, may be 50-ish for bigger projects, but that's it. If I open up my JS app be it svelte/vue or whatever, I'll see hundreds of them... Because JavraSkip

adambright
Автор

When I first started programming, I remember reading a post about the importance of making your own libraries; specifically a string manipulation library. It's easy for beginners to help them learn how to write functions, properly name functions, and include external files in their programs. It's mind blowing that people shipped software with a left pad function that they didn't write. Hell, even copying and pasting the code takes the same amount of time as pasting the link to the code

TheHighpotinuse
Автор

Yes, the NPM repository is littered with libraries which still rely on other libraries which are no longer necessary if the downstream libraries were updated to match current NodeJS and JavaScript.

xA
Автор

Finally, modularity, I can choose exactly which ansi functions I need

pigbrine
Автор

I think that it says much more about the language than the person that things like is-odd are so insanely popular.

MoraFermi
Автор

Wow, that certainly is-odd... Hopefully nothing critical is actually using these packages—seems like a great way for someone to _get even_

GSBarlev
Автор

i love how the author used ≡ for = because it's still treated as an equals sign but it's a UTF-8 character which is a couple bytes longer

danidotexe_
Автор

I love your white board. It's always sitting there nonchalantly in the background like a newspaper headline in the Simpsons.

rightwingsafetysquad