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

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

code::dive conference

code::dive conference

6 жыл бұрын

Пікірлер: 22
@pythooonuser2233
@pythooonuser2233 5 жыл бұрын
One of the best talks ever.
@alexnezhynsky9707
@alexnezhynsky9707 5 жыл бұрын
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 5 жыл бұрын
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 6 жыл бұрын
Arrow functions are much more than just a shortkut. They free the language from the bind/apply nightmare.
@josephgarronegj
@josephgarronegj 6 жыл бұрын
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 6 жыл бұрын
Just don't use *this*, then there is no need to bind *this*.
@josephgarronegj
@josephgarronegj 6 жыл бұрын
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 жыл бұрын
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?
@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 3 жыл бұрын
When you get to a deep understanding that does not need updating. It is goldilocks.
@gyurilajos7220
@gyurilajos7220 3 жыл бұрын
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 5 жыл бұрын
1:11:04 Douglas' musings on "the next language" sounds to me like Erlang/Elixir ;)
@johnhammer8668
@johnhammer8668 6 жыл бұрын
Nice Talk. But "Dont make bugs". Is it even possible ?.
@alexnezhynsky9707
@alexnezhynsky9707 5 жыл бұрын
I think you can make less bugs. But even OS'es have bugs. It's just human nature.
@adrianoldchannel2494
@adrianoldchannel2494 6 жыл бұрын
JavaScript is awesome why didn't they killed it dead. !!!! It's so koool
@eacasanovaspedre
@eacasanovaspedre 6 жыл бұрын
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 4 жыл бұрын
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.
The Better Parts. Douglas Crockford. JS Fest 2018
55:59
Fest Group
Рет қаралды 24 М.
🔴  Build the Uber clone in React Native (Tutorial for Beginners)
3:43:51
ФОКУС С ЧИПСАМИ (секрет)
00:44
Masomka
Рет қаралды 3,8 МЛН
NodeJS 22 Just Dropped, Here's Why I'm Hyped
14:31
Theo - t3․gg
Рет қаралды 75 М.
What's new and what's changed in C23 - Jarosław Stańczyk - code::dive 2023
35:56
LOGARITHM EQUATION
1:22
Baba maths online
Рет қаралды 9
The Power of the Paradigm. Douglas Crockford. JS Fest 2018
1:03:26
Crockford on JavaScript - Act III: Function the Ultimate
1:13:29
YUI Library
Рет қаралды 180 М.
Something Strange Happens When You Follow Einstein's Math
37:03
Veritasium
Рет қаралды 5 МЛН
Syntaxation • Douglas Crockford • GOTO 2013
49:40
GOTO Conferences
Рет қаралды 18 М.
Crockford on JavaScript - Episode IV: The Metamorphosis of Ajax
1:33:55
Lecture 6: Version Control (git) (2020)
1:25:00
Missing Semester
Рет қаралды 659 М.
Опасная флешка 🤯
0:22
FATA MORGANA
Рет қаралды 536 М.
Why spend $10.000 on a flashlight when these are $200🗿
0:12
NIGHTOPERATOR
Рет қаралды 16 МЛН
All New Atlas | Boston Dynamics
0:40
Boston Dynamics
Рет қаралды 5 МЛН
Как часто вы чистите свой телефон
0:33
KINO KAIF
Рет қаралды 1,8 МЛН