Тёмный
No video :(

10 Things I Regret About Node.js - Ryan Dahl - JSConf EU 

JSConf
Подписаться 282 тыс.
Просмотров 635 тыс.
50% 1

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 495   
@kennedykinyanjui
@kennedykinyanjui 6 лет назад
I appreciate a developer talking about flaws in a software he built. Respect.
@craigburch464
@craigburch464 5 лет назад
It was really cool to listen to! He took it with a lot of grace. I have a lot of respect for this guy and the way he handled this talk. Very enjoyable and enlightening.
@kevinkkirimii
@kevinkkirimii 5 лет назад
Interestingly most creators of a language they will mention their flaws and what they think could have been done better - with age comes wisdom and simplicity.
@ninjaasmoke
@ninjaasmoke 4 года назад
Mad respect
@palaashatri
@palaashatri 4 года назад
Respect +100
@Brunoenribeiro
@Brunoenribeiro 4 года назад
Very humbling, isn't it. I also like how people appreciate his work even after knowing those mistakes. Love the developers community
@k.tsonev
@k.tsonev 6 лет назад
Don't say "Sorry" Ryan. You did that thing which gave us so much fun and joy. Also, thankfully to node I'm able to pay my bills :)
@ulhaqanwaar1
@ulhaqanwaar1 6 лет назад
Same here bro
@ulhaqanwaar1
@ulhaqanwaar1 6 лет назад
Ryan! Keep it up I'm gonna use deno I'm sure it's gonna be perfect that's exactly what I wanted. Please keep it up
@estevatopanchovillacruz9969
@estevatopanchovillacruz9969 4 года назад
wonderful comment.
@8eck
@8eck 4 года назад
Same here :D
@yuenyiupang
@yuenyiupang 3 года назад
what can i say, same here
@hatrick3117
@hatrick3117 6 лет назад
Damn... My whole life I was surrounded by people which doing nothing and act like they invent electricity. And here is the guy who invent best technology of last decade (IMHO), and still remain shy. I need to know more about hem, hes my new hero
@DeanRadcliffe
@DeanRadcliffe 6 лет назад
Amen. No frills, just awesome.
@liteoner
@liteoner 6 лет назад
Very often you'll find that all these things are created by massively introverted people who hate public speaking and prefer to stay behind their screens.
@jboxy
@jboxy 5 лет назад
it's crazy he's brilliant, lotta poserz out there but this dood is legit
@chronic888
@chronic888 5 лет назад
yeah, this is seriously inspiring. lets contribute to deno
@andrewjackson4800
@andrewjackson4800 4 года назад
I think modest or humble would fit better than shy.
@ThePandaGuitar
@ThePandaGuitar 5 лет назад
"Always die immediately on unhandled promises." Imagine this applied to humans 😂
@areebjamaliam
@areebjamaliam 4 года назад
Everyone I trusted dies
@joonasfi
@joonasfi 4 года назад
There'd be no politicians
@rishavjaiswal
@rishavjaiswal 4 года назад
Corona : am i a joke to you?
@ninjaasmoke
@ninjaasmoke 4 года назад
Mad respect to a developer who talks about his mistakes and tries to correct them
@aestus
@aestus 6 лет назад
14:55 "What I've come to learn now that I'm aging is that whenever you're designing a program, there's things that you think might be cute to add in. You always regret those. If they are unnecessary and simply cute, don't do them." 21:17 "I think it would be cute if you just import via where the source code came from."
@davidknipe4113
@davidknipe4113 6 лет назад
Yes, but it's a different meaning of "cute". Bad Cute means adding extra complexity which might make things slightly easier for a few people. But at 21:17 he was talking about removing the complications he'd added to resolution of `require` paths.
@katerinaandrasko3755
@katerinaandrasko3755 6 лет назад
Yea, well. People are lazy, and writing that long URL to the resource is not gonna fly. I know people would eventually write NPM or YARN (RNYA?? :D) for deno. Also, if it uses TypeScript the the definition files would have to also be downloaded... pointing to a single file won't fly. Unless it supports "import" of said file.
@aldrinmartoq
@aldrinmartoq 6 лет назад
LOL I thought the same!
@banthepope
@banthepope 6 лет назад
came here to write the exact same thing, thanks for saving me all the typing :)
@UliTroyo
@UliTroyo 5 лет назад
Lol, I noticed that too!
@jaspreetsingh2379
@jaspreetsingh2379 6 лет назад
DENO 1. Parcel build included 2. TypeScript 3. No NPM installs and management 4. Single Executable File 5. IO / Write Optional 6. ESM Modules 7. V8 based on GN instead of GYP 8. Protobuf 9. Non JS Parts i.e BTS are handled with GO Lang instead of C++ ( still in progress) what more can you ask from Ryan, even when node is great. Really, expecting Deno to shine
@aaronbell5994
@aaronbell5994 5 лет назад
This is a beautiful summary comment. Thanks.
@_danisson
@_danisson 5 лет назад
This means we dont have to install so many things to do a simple back end job ?
@gitarthakashyap8519
@gitarthakashyap8519 4 года назад
Will it use js just like node.js or to use deno I have to use typescript ! I know this seems like dumb question because I have started to learn to code in js in the last 23 days and currently learning node.js
@a0flj0
@a0flj0 5 месяцев назад
Use Rust instead of Golang? Rust is a bit faster at runtime, incomparably more expressive and way safer. Fun fact: Golang never made it into kernel code, while Rust is already supported (although actual use of Rust in the kernel will take a few years).
@jasonsebring3983
@jasonsebring3983 6 лет назад
Ryan understands the problem domain so well and happens to be sarcastically funny at the same time. I'm all for Deno.
@AntonAdelson
@AntonAdelson 6 лет назад
"If they are unnessesary and simply cute: don't do them." Awesome advise! I needed to hear that...
@ManuEomm
@ManuEomm 2 года назад
Regrets: - Not sticking with Promises 5:05 - Security 6:02 - The Build System (GYP) 7:02 - package.json 9:55 - node_modules 13:01 - require("module") without the extension ".js" 13:58 - index.js 14:40
@piyushaggarwal5207
@piyushaggarwal5207 Год назад
Why is index.js is a mistake? Should I stop using it? Everyone uses it
@artshield
@artshield 11 месяцев назад
@@piyushaggarwal5207, for me, the whole list looks not like cons but pros or actually the advantages of the whole concept where Node.js got its success.
@nacs
@nacs 6 лет назад
0:50 Love the casual "I created Node..." background summary :D Its also admirable how he takes credit for some of these 'regrets' without attempting to generalize or finger-point.
@bugs181
@bugs181 Год назад
One of the most underappreciated engineers of our time.
@MikeMonji
@MikeMonji 6 лет назад
Looking for developers with 3 years Deno experience minimum. (No chance takers)
@theamici
@theamici 6 лет назад
lol
@bestd2136
@bestd2136 5 лет назад
Where can I apply? What is the package and benefits?
@cv4875
@cv4875 5 лет назад
Corporate or startup Deno experience? Lulz
@havetocheckhavetocheck1761
@havetocheckhavetocheck1761 5 лет назад
Rofl
@muhammadjamaluddin6472
@muhammadjamaluddin6472 5 лет назад
lol
@1421anoop
@1421anoop 6 лет назад
Big fan of Ryan Dahl. I think he was too nervous during this talk (because it has been years since he gave a public talk and also because he was presenting another technology and tensed thinking how people would react to this) I'm glad that he is back.
@ezwalduzumaki3161
@ezwalduzumaki3161 4 года назад
agree, also always people will disagree with him on few points, people he work with, so obviously there will be debates about few things etc. Seeing a massive amount of people in front of you, not knowing if someone is gonna agree with you, i agree can be nervous fosho
@anthonytonev1357
@anthonytonev1357 3 года назад
I like how he says - "If they are unnessesary and simply cute: don't do them" and then "I think it would be cute if you just import via where the source code came from"
@thedappernapper
@thedappernapper 5 месяцев назад
point taken, but that one's not unnecessary but a deliberate design
@b99andla
@b99andla 6 лет назад
No need for you to be nervous, excellent talk! Thank you!
@yannicktamburrini7833
@yannicktamburrini7833 3 года назад
14:55 Don't do something because you think it's cute 21:17 I thought it would be cute ... x) He's making a mistake again.
@caynebyron
@caynebyron 4 года назад
"Dart is a failure" - *Flutter has entered the chat*
@nobytes2
@nobytes2 3 года назад
Failure, compared to the other ecosystems that use JS, dart/flutter is a failure. They should have used JS.
@SilenceStabber
@SilenceStabber 3 года назад
@@nobytes2 NO. Dart is not worse than JS. Dart is just Google's C#.
@sps014
@sps014 4 года назад
10 things i hate about NODE. Here comes DENO. 10 things i hate about DENO. Here comes DONE.
@rickvian
@rickvian 3 года назад
LOL
@t3dotgg
@t3dotgg 4 года назад
Crazy to think deno is shipping v1.0 tomorrow, less than two years later
@klarnorbert
@klarnorbert 3 года назад
It's crazy that after 2 years, it has more than 70k stars on github.
@_____case
@_____case 4 года назад
What a legend. 2 years later, Deno goes 1.0. Edit (Jun 2023): I have been using Deno Fresh + Deno Deploy for personal projects and couldn't be happier with this stack.
@JKJonesInCode
@JKJonesInCode 6 лет назад
"My other talk wasn't ready so this is just a make up talk.." 20 minutes later "So i was writing up this talk and it seemed kind of negative.. so i decided to write a replacement for node" Potentially hilarious bit of history if this ends up taking off.
@rodwinpieterse1950
@rodwinpieterse1950 3 года назад
And take off it did.
@yongzeyao1337
@yongzeyao1337 5 лет назад
One of the greatest minds in Software Engineering Industry yet still so humble. You are my new role model!
@dtutubalin
@dtutubalin 4 года назад
Now I'm waiting for part two: 20 Things I Regret About Deno. I bet importing from URL will be issue #1. Also serialization for system calls looks like unnecessary overhead.
@gilbertsenyonjo963
@gilbertsenyonjo963 2 года назад
True. Serialization for system calls created unnecessary overhead and was removed See: en.wikipedia.org/wiki/Deno_(software)#:~:text=FlatBuffers%20were%20finally%20removed%5B15%5D%20after%20publishing%20benchmarks%20that%20measured%20a%20significant%20overhead%20of%20serialization%20in%20April%202019.%5B16%5D
@manikawnth
@manikawnth 6 лет назад
If Ryan chooses Rust, he'll be bringing the browser companies war to an end. Mozilla's Rust, Microsoft's Typescript and Google's V8 :P
@ourmarkas
@ourmarkas 6 лет назад
:D
@jpratt8676
@jpratt8676 6 лет назад
V8 isn't a language though, there's no reasonable apples to apples comparison between Rust and V8.
@sarancha090
@sarancha090 5 лет назад
@@jpratt8676 V8 is C++ and Rust is a direct competitor to C++
@cv4875
@cv4875 5 лет назад
Great point! Please build this out with Rust and popularity will skyrocket.
@KhoaNguyen96
@KhoaNguyen96 5 лет назад
Holy shiet. Maybe you forget about this, but he chose Rust! Take a look at: github.com/denoland/deno
@eliburmin5671
@eliburmin5671 6 лет назад
What a refreshing, uncontrived talk. Humble, smart, gets shit done. Thanks, man.
@TurboGoth
@TurboGoth 6 лет назад
It was refreshing to see Ryan speak up about node's drawbacks since, okay, for pragmatic reasons, they can't all just be flipped around today without dependencies all going bonkers, and yet still. Here and there, you see things that seem just wrong and it's nice to know you're not crazy. Promises are a big thing for me since IO performance, as a core goal of node, should offer a good way to write it - and promises, the concept that Javascript, as a language, has adopted because it's a good way of doing things, are excellent. Node, as a huge Javascript champion in the industry, would be great embracing it. "callback hell" is a commonly known problem and Promises are an elegant fix with exception semantics coming through cleanly and everything just working out.
@timmeeeeeeeh
@timmeeeeeeeh 4 года назад
Ryan also regrets not using a dinosaur in the logo.
@hansschenker
@hansschenker 6 лет назад
So nice to see Ryan Dahl on Stage again!!
@haraldlons
@haraldlons 4 года назад
When was the last time?
@notablemind
@notablemind 6 лет назад
I found this amazing. I think he has the potential to be a great stand up comedian
@KhoPhi
@KhoPhi 4 года назад
A "Software Comedian" Is that even a thing?
@yt4joe
@yt4joe 6 лет назад
Thanks, man. Your candor and effort to provide improvements on your own project should be an inspiration to other coders.
@kartikgarasia5685
@kartikgarasia5685 6 лет назад
He is like rechard ... From silicon valley.... 😄
@bharathravi7820
@bharathravi7820 6 лет назад
I'm completely with you on this!
@caliwolf7150
@caliwolf7150 6 лет назад
i was searching for this comment
@TheGargalon
@TheGargalon 5 лет назад
new internet
@46divyajeetsingh
@46divyajeetsingh 4 года назад
The first thought after seeing him.
@Lius525
@Lius525 4 года назад
It's literally him lol
@philippelaferriere2661
@philippelaferriere2661 6 лет назад
"deno" is "node" but with the syllables reversed... Clever.
@beavisbutt-headson3223
@beavisbutt-headson3223 6 лет назад
But node is a one-syllable word...
@yt4joe
@yt4joe 6 лет назад
Node and Deno are both monosyllabic. But, yes, they share the same alphabetic characters. Glad he didn't use more than four -- might've been a huge brain-tease for ya. His next version will be done.
@philippelaferriere2661
@philippelaferriere2661 6 лет назад
"deno" has two syllables, and when they are reversed, you get "node".
@yt4joe
@yt4joe 6 лет назад
I suppose it could be pronounced that way ... I had it in my head as "den-o" but since neither provides an established word in the English language, I'll stick with both Node and Done being monosyllabic as is "deno" (in my head anyway).
@clublati
@clublati 6 лет назад
maybe he'll use one of your suggestions in a several years when he has some regrets about 'deno' and moves onto something else.
@obiajuluubaka9852
@obiajuluubaka9852 6 лет назад
Deno (D, E, N, O) and Node (N, O, D, E) juxtaposition of De and no. Node is awesome. Looking forward to deno
@emberprime9696
@emberprime9696 3 года назад
next is oden or enod
@brentgordon3801
@brentgordon3801 6 лет назад
It's interesting to see Ryan talk about where he felt he went wrong with node
@dewdop
@dewdop 3 года назад
Thank you to Ryan Dahl and all of JSConf.
@bibhasacharya768
@bibhasacharya768 6 лет назад
Typescript was created by people who made C# (Anders Hejlsberg et. al. basically). Those guys know what they're doing.
@zehh
@zehh 6 лет назад
And the Turbo Pascal compiler and Delphi's Object Pascal.
@mosialive
@mosialive 5 лет назад
Absolutely!
@MithileshMusic92
@MithileshMusic92 6 лет назад
I have been a javascript developer since a few months , now . i have stopped coding in PHP , or any other languague because of the beauty of javascript. as i can write a software for desktop/server/mobile/web with just one languague. i never had so many fun in making my ideas and creativity come to life with my code. Man there is nothing to regret about NODE.js , it is the best thing to have happened. We are all fine with the issues, with softwares there is always something you know , as long as we use just one languague to code everything we do :)
@bibibobs
@bibibobs 6 лет назад
Mithilesh Meshram for us web devs it's fine but it might be horrible for the Node dev team. Imagine working on a 2008 PHP codebase that's from 2013 😂
@cyphen21
@cyphen21 5 лет назад
I cant believe the same guy invented Node and wrote Charlie and the Chocolate Factory. So prolific.
@Icix1
@Icix1 6 лет назад
Ryan is very humble and the amount of things he got right is incredible. That being said... The package.json/node modules thing is something I've felt for quite awhile, nice to hear someone else say it. Node module system is overly complex is the wrong ways and too simplistic in the wrong places. There's far better established ways of linking etc.
@elgs1980
@elgs1980 3 года назад
God, I love the explicit extension. I am glad Ryan does, too.
@shreehari2589
@shreehari2589 2 года назад
Node is still awesome, thank you for creating it Ryan
@chrisanderson687
@chrisanderson687 2 года назад
Ryan you are a legend, really enjoyed this talk. Deno is great, going to use it as much as possible from now on.
@brizacast
@brizacast 4 года назад
It's nice because Ryan said about the failure of Dart and this video is 2 years old now. A lot of things changed, like, now we have flutter and Dart comes to the discussion table again as a greate language to write cross-plataform applications, and we have an implementation of Angular with Dart.
@jimifriis4507
@jimifriis4507 5 лет назад
Thanks for a great talk Ryan (and JSConf) , this is valuable thoughts and insights also on the abstract level for me as a developer even though I'm not a node.js developer. As other have already said, don't regret what you did - hindsight will always be there to teach us what to think about next time =) Keep it up!
@vaibhavm1986
@vaibhavm1986 6 лет назад
It proves nothing is perfect there can always be a scope of improvement in any design.. We should accept our mistakes and learn from them to make even better design
@BrazilianDev
@BrazilianDev 4 года назад
Very interesting approach about the regrets of Node architecture implementation in the point of view of the one who was part of the initial concept of this so loved tool by us all.
@pedroluzio
@pedroluzio 6 лет назад
Awesome talk, you have to love this guy. Thanks Ryan \m/
@qiangwang689
@qiangwang689 2 года назад
ten years later, this talk will be legendary
@BEARMC27
@BEARMC27 4 года назад
This guy single-handedly create hundred of thousand, if not million, jobs of node programmer. And also the same number of stackoverflow questions.
@saranshmehra8577
@saranshmehra8577 6 лет назад
This confession will unsettle the life of node.js developers :)
@emberprime9696
@emberprime9696 3 года назад
seems dart will be more upset
@fernozzle
@fernozzle 6 лет назад
20:20 Holy crap, Ryan.
@KristianRoebuck
@KristianRoebuck 6 лет назад
It's true though 😅
@BraulioCassule
@BraulioCassule 6 лет назад
Google found uses for Dart elsewhere eg. Flutter
@xon2013
@xon2013 6 лет назад
Dart 2.0 is suppose to make it come back. I still have some hope for Dart 2.0
@valdezm_com
@valdezm_com 6 лет назад
Yeah i cringed when i heard that extreme statement, a bit harsh. Curious how this comment is at the top of this video?
@yusakufujiki1094
@yusakufujiki1094 6 лет назад
Well I think he is right actually
@MonkeyKong21
@MonkeyKong21 6 лет назад
deleting a node_modules folder still makes me laugh; like 50,000 files and 1.5GB needed for a basic little project
@HeatingUpDuke
@HeatingUpDuke 4 года назад
Also 1.5G of node_modules is more like 100 package installed *manually* than a "basic little project".
@ManishKumar89
@ManishKumar89 6 лет назад
confession of a dangerous mind :D
@sonictailsandsally
@sonictailsandsally 5 лет назад
I used to compile with nodegyp, but now I use CMake and traditional C-compilers like GCC - much nicer IMO.
@xkcdstickfigure
@xkcdstickfigure 5 лет назад
12:22 I feel like a bookkeeper...all I'm trying to do is link to a library
@EdwardEvans40
@EdwardEvans40 6 лет назад
How amazing Deno it is! We can do many things for frond end engineering optimization, and remove node_module black hole.
@kasvith
@kasvith 4 года назад
So now we reached Deno 1.0.0. Great work Ry
@huze0001
@huze0001 6 лет назад
Cannot wait to try it!!! Very wise decision to run TS out of the box.
@ErShikharChauhan
@ErShikharChauhan 5 лет назад
You are just awesome.. who else can accept mistakes so gracefully 👏
@josemaenzo
@josemaenzo 6 лет назад
Long live to Ryan for what he made
@alankjohn9263
@alankjohn9263 3 года назад
15:00 life advice - if they are unnecessary and simply cute don't add them
@dacypher22
@dacypher22 4 года назад
I love this talk. It demonstrates that Dhal is a humble and intelligent guy who is looking critically at the biggest achievement of his life (so far) and how it compares to competing technologies. Compare that to how Bjarne Stroustrup talks about C++ and everything that isn't C++. All Bjarne does is give excuses for the myriad bad decisions in C++'s design and talks down to everyone who isn't using it or who doesn't think it is perfect.
@cg219
@cg219 Год назад
Deno has come some way since this video
@basarat
@basarat 4 года назад
Been following DENO for a while. Being a TypeScript lover, its looking promising 🌹
@vibonacci
@vibonacci 3 года назад
7:00 The chances of node-gyp NOT causing errors on a random system when running npm install is about 30%.
@novemberjohns672
@novemberjohns672 3 года назад
It’s almost always related to the Python version specified in your system path.
@Roboprogs
@Roboprogs 3 года назад
Cool. Wishlist for next go-round: * imports with checksums (is that in deno already/yet?) to make sure you download the same file I did when collaborating. * Clojurescript support instead of / in addition to Typescript, as it’s more compatible with my favored methodology (but I’m reluctant to drag it in as an additional dependency yet on my own) - TS solves problems I don’t have, and I avoid writing classes, rather than higher order functions passing around short lived / locally scoped property lists. I don’t want hundreds of files / classes with thousands upon thousands of global symbols. * Rust, perhaps, rather than just Go, for writing native calls out?
@joshuacc
@joshuacc 2 года назад
Es una persona respetable y muy honesta al aceptar que cometió errores en nodejs, ahora entiendo que Deno seria su reivindicación, con el uso de typescript, esperemos se haga popular su uso
@WhipsterCZ
@WhipsterCZ 6 лет назад
Even you had probably some bad decisions - You have my respect, you are honest guy . don't be so hard to yourself :)
@agustinbs
@agustinbs 5 лет назад
I just checked out recently and Deno is growing rapidly, a all way next step for node.js users.
@autumncyanide
@autumncyanide 6 лет назад
So glad he's back nerding on this shit
@mosesnandi
@mosesnandi 4 года назад
Great talk...Deno will be officially out in a day or two...time to start learning it!
@zxia6246
@zxia6246 6 лет назад
Been waiting for it. Thank you for sharing.
@Felix-un7yp
@Felix-un7yp 8 месяцев назад
I agree that Promises should have been there earlier, but I don’t see it as a huge problem nowadays. New code is using async/await, and for legacy code it is easily possible to build async-wrappers with just a few lines.
@bonggypsygirl
@bonggypsygirl 3 года назад
U r real hero. I feel motivated💜💜💜💜
@moathdw910
@moathdw910 Год назад
The question is, what prevents making a new version of NodeJs that solves all these flows and "issues"? Like why is he talking about this being unfixable?
@vikingthedude
@vikingthedude Год назад
You can't just make a new version of Node JS. You think Node grows on trees?
@OpenSaned
@OpenSaned 8 месяцев назад
As he said, these problems just turned into "features" of node itself. A lot of software is already built upon these "problems", reverting them could throw a lot of software overboard.
@kennethgitere8215
@kennethgitere8215 6 лет назад
Deno is an anagram of Node.
@willmorangox
@willmorangox 4 года назад
Today (2020-05-13) deno came out, maybe this dude is writing a new chapter in his brilliant history! The Deno core, was written in Rust.
@Snow_Fire_Flame
@Snow_Fire_Flame 6 лет назад
Interesting talk, but I'm skeptical about taking library & dependency management from one nexus of doom (package.json) and distributing it throughout your codebase, as deno seems to want to. Does this mean that if I want to upgrade version, I need to search for every single file that's requiring it, and update the URL? Seems like the cure is worse than the disease, if so.
@daverumpel
@daverumpel 6 лет назад
Peter Ingraham You can easily get around that by having a single file where you declare your dependencies in variables. And import that instead. That way you only ever change one file.
@yawarjamal909
@yawarjamal909 6 лет назад
Yea totally agree ... introducing urls I believe is even more ugly and added complexity for no reason. If one give some thought and remains deligent about semversioning etc inside your package you wont have to worry about the issues he mentioned. I think of it as my source of truth for packages.
@puukallistaja
@puukallistaja 6 лет назад
maybe we could name that file something like pack.js or package.js. Or mybe not js, but json?!
@pyrogreg8
@pyrogreg8 6 лет назад
I think his main intention is to keep it compatible with browsers
@tanakacraigkaseke5368
@tanakacraigkaseke5368 2 года назад
"What I've come to learn now that I'm ageing is that , when you are designing a program; there is things that you think might be cute to add in. You will always regret those, if they are unnecessary and simply cute; don't add them!" - Ryan Dahl
@saeedahadian
@saeedahadian 4 года назад
What you regret is one of the most unregretting things I've pursued in my whole life.
@armenmichaeli6704
@armenmichaeli6704 3 года назад
He is wrong in that "you cannot omit the ".js" in a script tag src attribute" -- you can, and the `src` attribute denotes a _URL_ of a _resource_, the user agent makes no assumptions about "file extensions" -- it simply requests the resource at the specified URL, per HTTP. The only thing that matters is the media type of the resource -- for ES6 modules it has to be "application/javascript" if memory serves (and there may be other valid media types for modules). URLs are only related to file extensions because you can include something like ".js" or ".ts" (Deno) but it honestly shouldn't matter to a script/module loader because the URL specification is what defines URLs, while the retrieval method would be decided by the protocol (scheme) embedded in the URL, and the type, to repeat this again, of the module, is decided by the _media type of the resource retrieved by the URL, if applicable like with HTTP. Of course, with the "file" scheme, you can parse extension in the URL, but for HTTP it's the wrong thing to do unless you have decided to reject URLs not ending with some ".js" or what have you.
@tomryan9827
@tomryan9827 5 лет назад
I love node. I used it to build a game server basically from scratch, right down to a custom packet protocol and individual 0's and 1's. It had everything I needed for a true backwoods, ground-up project of enormous scope. It makes programming fun, intuitive, elegant, and fast. If I had to use C#, I would have clawed my eyes out. Thanks man. Don't beat yourself up too much
@MegaBlizzardman
@MegaBlizzardman 5 лет назад
He is certainly correct that GYP was a horrible choice. It's really the only thing on his list I consider a legitimate pain.
@maxwelkamau3356
@maxwelkamau3356 4 года назад
im new to all this --> go, node, deno, js, i reglet but damn, respect Ryan THANKS!!!
@viniciusfortuna4931
@viniciusfortuna4931 5 месяцев назад
There should really be a way to pin dependencies. Fixing it on first download is not enough, since that doesn't validate the dependency, and you may still get different versions on different machines.
@IvanKleshnin
@IvanKleshnin 6 лет назад
The biggest problem with NodeJS (for me) are utterly broken streams. Somehow Ryan didn't even mention them. On the GitHub repo, though, he says he's considering async iterators. Hopefully they'll adress this problem in Deno until it's too late again.
@fuadnafiz98
@fuadnafiz98 4 года назад
10 years later, there will be a new video of 10 things I Regret About Deno - Ryan Dahl
@HaniYahya9
@HaniYahya9 6 лет назад
Rayn is like Leo Messi, but for the web, and he does look like him!
@s0faRy
@s0faRy 5 лет назад
So tough to speak when you one of the greatest developper minds ;)))
@aymanpatel5862
@aymanpatel5862 Месяц назад
Doc Regrets of Ryan Dahl 1. Not sticking with Promises Ryan added and remove Promises from Node. Node.js has many async APIs due to this 2. Security 3. Build system (node-gyp) 4. package.json 5. node_modules 6. Require require("module") without extension `.js` 7j. index.js
@redwanzia1823
@redwanzia1823 4 года назад
"just write the fu..... ah ... extension in there ..." ..... haha ..14:17!!!!
@ArturKlesun-zq7ns
@ArturKlesun-zq7ns 4 года назад
One good thing about deno is that, at least in the start, there will be no damn frameworks overflowing SO answers
@oleksandr1988
@oleksandr1988 6 лет назад
He reminds me of Richard Hendriks. Did anyone else have the same thought?
@kwabenaberko5317
@kwabenaberko5317 6 лет назад
Yep!
@idhamhafidz
@idhamhafidz 5 лет назад
i’ve just checked deno. I think it is cool and awesome. cannot wait
@diegolima362
@diegolima362 4 года назад
20:20 two years late, Dart is hyped cause of Flutter. So no a total failure
@Sachica00
@Sachica00 4 года назад
Except that dart is not really hyped. Flutter is. Dart is just the whatever language you need to code in in order to use Flutter
@sadhlife
@sadhlife 4 года назад
the original idea of compiling dart to js is essentially dead for reasons on the other hand hummingbird is probably the best thing they could have done, and might just kill electron in a decade or so if everything goes well (seriously fuck electron)
@A5tr0101
@A5tr0101 5 лет назад
There is a lot of negativity over his own achievements, personally i think he has done a fantastic job, i love the JavaScript ecosystem, its probably one of my favorites :)
@IntiMaldonado
@IntiMaldonado 6 лет назад
After seeing what happened with Angular 1 and django, I've decided to stop using frameworks all together. I'm now developing everything using the native languages features directly and creating my own abstractions and libraries based on each individual case. I not only got so much better developing, but also I now have the security that my work won't depend on the fate of a new technology that hasn't being put thru the test of time, or worst.. it was an experiment of a talented young individual or company.
@phabove7
@phabove7 6 лет назад
I wonder how you found time to do so much stuff, when management and business users make your life hell on deliverables.
6 лет назад
Ryan, no need to nervous man. Thanks for your talk.
@crack_squirrels
@crack_squirrels 4 года назад
What if a server goes down or a domain expires? Does everyone have to find/replace every single source file that points to a URL?
Далее
Ryan Dahl introduces JSR at DevWorld 2024
29:13
Просмотров 105 тыс.
Asynchrony: Under the Hood - Shelley Vohr - JSConf EU
25:24
Ryan Dahl: Node JS
48:32
Просмотров 19 тыс.
Node.js: The Documentary | An origin story
1:02:49
Просмотров 583 тыс.
The mind behind Linux | Linus Torvalds | TED
21:31
Object Oriented Programming vs Functional Programming
18:55
The Art of Code - Dylan Beattie
1:00:49
Просмотров 4,7 млн