STOP Reinventing The Wheel

preview_player
Показать описание
Many programming languages have standard libraries. What about JavaScript? 🤔️

Deno's goal is to simplify programming, and part of that is to provide the JavaScript community with a carefully audited standard library (that works in Deno and Node) that offers utility functions for data manipulation, web-related logic, and more. We created the Deno Standard Library in 2021, and four years, 151 releases, and over 4k commits later, we're thrilled to finally announce that it's 30 modules are finally stabilized at v1.

Рекомендации по теме
Комментарии
Автор

Pulling in a package to tell you if an number is odd does not sound like a good idea on paper

lukeXD
Автор

Thanks for reinventing the wheel, so others need not 😅

shivajivarma
Автор

I really like the little dino icon u guys choose.

rishavsandal
Автор

Asher, Yoshiya and Bartek, you guys have done a great job on building and mediating the standard library! It's awesome to see how far it's come.

jakeave
Автор

I like that you are talking about new @std packages while scrolling through packages with a text 'DEPRECATED' 😁

Omikorin
Автор

Oh, this looks very nice. It's like the great rewrite to end all rewrites, or at least most of them. JavaScript definitely needs something like this, the amount of single-function libraries being composed on top of one another makes of its ecosystem a joke 😅 .

Nice job, I'll give it a try.

TheDragShot
Автор

The JavaScript landscape is pure insanity. 🤔🤦🤷

EduardKaresli
Автор

The "standard library" of js has tended to be the APIs that js runtimes provide, a lot of this functionality to handle JSON, HTML and other stuff you mention is already globally available in such places and it won't be replace by a library approach. The important goal is achieving parity across JS runtime environments, so you can expect that your code will run in a browser or anywhere else.

magicjuand
Автор

But does the std library work in Node 0.0.4?

zettca
Автор

Despite the video title; I have my own small set of TS utilities. When I need something that I will use commonly I write it once in a file, I have a few files with classes, functions, even some constant variables all grouped by the subject matter (& sometimes tests if complex enough). I just include the sources files as needed into my bundle. I've been doing this for many years with a variety of languages such as C, C++, PHP, Typescript. I also have some shell aliases for more immediate common tasks.
The advantage is that I know exactly what is in it, I don't have to worry about anyone else's code & managing versions & any additional dependencies. We're all aware of the 'padLeft' controversy, and others like it. Sometimes programmers do odd things, I know I do, it's hard enough to keep up with my own stupidity let alone other's.
I've always tried to make heavy use of templates & generics so that I can avoid writing the same code multiple times.

fredhair
Автор

Is there a way to push this functionality into the ecmascript spec? That is the ONLY way to make it better.

damdoumibouajaja
Автор

The problem with is-odd is not that it isn’t included in the standard library 😂

scottanderson
Автор

I loved the leftpad mention in the transcription of the video

victorgarcia
Автор

Good idea. Unfortunatly a standard library for js would need to be included in all the Browsers - as this is (still) the JS main runtime - to be fully sucessfull.

erchenstein
Автор

I remember people started arguing with me that beeing opinionated is "not invedted here Years have passed and look at the shitshow that js is that has been pulled in all directions by both the comunity and big companies tying to define what's right

SXsoft
Автор

Will it also solve world peace and feed infinite generations to come like most tc39 proposals promise?

Jonas-Seiler
Автор

Thanks, but why are you trying to help developers

geelemo
Автор

Why v8 I internals video is not available anymore?

helmedfox
Автор

Who made this? It’s really well done. And I want to use deno std. 🥳

WillKlein
Автор

Are modules not like startard library?

salmaan