code::dive 2017 - Douglas Crockford - The better parts

  Рет қаралды 18,317

code::dive conference

code::dive conference

Күн бұрын

Пікірлер: 22
@pythooonuser2233
@pythooonuser2233 6 жыл бұрын
One of the best talks ever.
@alexnezhynsky9707
@alexnezhynsky9707 6 жыл бұрын
Don't agree with arrow funcs. What doesn't he like about them? That you need to wrap them with () to return an object? Or that they're always bound to the same scope? I think both are fine, just need to be kept in mind, like any other feature caveats are.
@Ursacke
@Ursacke 6 жыл бұрын
Since he already supports destructuring and the ellipsis operator, I'm guessing that he doesn't just dislike "shortcuts" out of hand. I think he dislikes arrows for the same reason he dislikes var: Because it can do things differently to how it really looks, and because of this we have to be guarded about them. Yes, we can learn what those things are and pat ourselves on the back for being clever little programmers, but maybe it's better just to keep things simple in the first place.
@gxd4b1
@gxd4b1 5 жыл бұрын
Try attaching an arrow function as a method to an object ... then see if your 'this' refers to the object ... It wont, it will point to the global object, and as an added bonus, arrow functions cant bind to a specific object. In short there are some things arrow functions cant do, but the 'function' keyword can do everything.
@josephgarronegj
@josephgarronegj 7 жыл бұрын
Arrow functions are much more than just a shortkut. They free the language from the bind/apply nightmare.
@josephgarronegj
@josephgarronegj 7 жыл бұрын
And using forEach instead of for ? You can't break a forEach loop and iterating this way make the code look like the iterating function is a callback...
@FrankFang1990
@FrankFang1990 7 жыл бұрын
Just don't use *this*, then there is no need to bind *this*.
@josephgarronegj
@josephgarronegj 7 жыл бұрын
Why should I stop using it? It's a verry usefull abstraction. If Douglas Crockford said he stop using *this* I assume it is because without arrow functions you need to bind the context everywhere.
@abdulwarris
@abdulwarris 6 жыл бұрын
Its just work well as callback but pty suck as object methods. Can’t be used as constructors & generators. Read more on MDN sites
@josephgarronegj
@josephgarronegj 6 жыл бұрын
It seem obvious to me that arrow functions are not the right tool to use when you implement prototype methods or constructor. It does not mean they suck, just that they are not just an alias for not having to tipe "function", they serve a specific purpose.
@AS-zw4lk
@AS-zw4lk 6 жыл бұрын
I appreciate the content but I would change the typeface used in your presentation - mixed cases only act as a communication barrier given the topic of the discussion. We could just call it an unecessary source of confusion. I am surprised.
@kylechurch6296
@kylechurch6296 6 жыл бұрын
I've gotta stop reading KZbin comments.
@christiandasilva3590
@christiandasilva3590 5 жыл бұрын
this is more or lessthe same content as his nordic.js talk from 2014. He didn't even update the content in 3 years?
@gyurilajos7220
@gyurilajos7220 4 жыл бұрын
When you get to a deep understanding that does not need updating. It is goldilocks.
@gyurilajos7220
@gyurilajos7220 4 жыл бұрын
The best thing about JSON is that it cannot be updated. A thing of beauty a joy forever enduring a stable foundation
@serenity_zero
@serenity_zero 6 жыл бұрын
1:11:04 Douglas' musings on "the next language" sounds to me like Erlang/Elixir ;)
@AS-zw4lk
@AS-zw4lk 6 жыл бұрын
Hipsters love Farts! Haha Like Marshall McLuhan said - we move forward looking in the rear view mirror. How painful were the browser war years - it's pretty clear that even when something better comes along its success depends directly on its rate of adoption - and that means getting the biggest players on board - who also have the most to lose with big investments in the status quo. First we define our technology and then it defines us! Why are we still typing Code?
@johnhammer8668
@johnhammer8668 7 жыл бұрын
Nice Talk. But "Dont make bugs". Is it even possible ?.
@alexnezhynsky9707
@alexnezhynsky9707 6 жыл бұрын
I think you can make less bugs. But even OS'es have bugs. It's just human nature.
@chimpionboy
@chimpionboy 6 жыл бұрын
JavaScript is awesome why didn't they killed it dead. !!!! It's so koool
@eacasanovaspedre
@eacasanovaspedre 7 жыл бұрын
I do not agree with most of what he said. Starting with the language, JavaScript is a very bad language for developing applications.
@simoneast7
@simoneast7 5 жыл бұрын
I think it very-much depends on the kinds of applications you’re developing. The asynchronous event-driven nature of JavaScript has allowed for significant performance increases in high-traffic server applications (compared with say PHP, ASP.NET, Ruby, etc.) - and yes, a few other languages have since improved in this regard, but JavaScript (and Node.js) are still excellent performers in this regard.
code::dive 2017 - Eric Niebler - Introducing the Ranges TS
1:00:46
code::dive conference
Рет қаралды 4,1 М.
The Better Parts. Douglas Crockford. JS Fest 2018
55:59
Fest Group
Рет қаралды 25 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Douglas Crockford - Numbers
57:53
HolyJS — конференция для JavaScript‑разработчиков
Рет қаралды 4,8 М.
Douglas Crockford: The JavaScript Programming Language
1:49:55
YUI Library
Рет қаралды 492 М.
Nordic.js 2014 • Douglas Crockford - The Better Parts
33:52
Nordic.js
Рет қаралды 70 М.
Douglas Crockford - Goto There and Back Again
59:06
HolyJS — конференция для JavaScript‑разработчиков
Рет қаралды 8 М.
Douglas Crockford: An Inconvenient API - The Theory of the DOM
1:18:08
Bjarne Stroustrup - The Essence of C++
52:46
code::dive conference
Рет қаралды 4,3 М.
Crockford on JavaScript - Act III: Function the Ultimate
1:13:29
YUI Library
Рет қаралды 181 М.
Douglas Crockford: Monads and Gonads (YUIConf Evening Keynote)
54:27
The Post JavaScript Apocalypse - Douglas Crockford
46:40
ConFoo Developer Conference
Рет қаралды 70 М.
The Return of Procedural Programming - Richard Feldman
52:53
ChariotSolutions
Рет қаралды 64 М.
#trending #foryou #challenge #fyp #viral #short #tiktok #vs
0:15
Misiсatсh
Рет қаралды 2,4 МЛН
LNS - 2 cô gái tốt bụng || Kind 2 girls #shorts
0:47
Linh Nhi Shorts
Рет қаралды 4,2 МЛН
DESAFIO DOS COPOS #shorts
0:38
Natan por Aí
Рет қаралды 34 МЛН
В Европе заставят Apple сделать в айфонах USB Type-C
0:18
Короче, новости
Рет қаралды 1,1 МЛН
ЛИТВИН / ПРАНК С ГРИМОМ / Shorts #upx #shorts
0:59
Лайфхак: Легально делать деньги
0:43