3 ms·
Yeah, I agree there’s value to learning and using Promises before async/await, since you often need to think in terms of promise vales when using async. I don’
by paulhodge 8y ago
Yeah, I agree there’s value to learning and using Promises before async/await, since you often need to think in terms of promise vales when using async.
I don’t think there’s value in teaching a beginner about the prototype chain. It’s kind of obsolete knowledge at this point. ES6 classes work great, and will be very familiar to people coming from other languages.
I mean.. if someone was a beginner in Python would you first teach them about the metaclass system? (I wouldn’t)
- nicwolff 8y agoExcept that ES6 "classes" don't have class attributes, because... they're really prototypes.