3 ms·
Nice, I'm going to jump strait into this then. Thanks! I did find the You Don't Know JS[0] book series extreamly helpful as a C++/Python coder who has only don
by hackcrafter 10y ago
Nice, I'm going to jump strait into this then. Thanks!
I did find the You Don't Know JS[0] book series extreamly helpful as a C++/Python coder who has only done enough JS to get by. But that is the extent of my prep for learning React Native.
Interestingly, the YDKJS author (Kyle Simpson) is very down on the adoption and heavy usage of ES6 class notation and the over-reliance of the syntactic appearance of a OO-language class systems in JS.
His argument is the abstraction will leak the in-its-own-right powerful delegation system of JS prototypes, so why not just learn/use raw objects or his OLOO (objects-linked-to-other-objects) pattern.
I find it hard to mentally map the ES6 class to the equivalent object+prototype structure it is syntax sugar for, so just throw my hands up and for the most part pretend they are Python style open-objects.
[0] https://github.com/getify/You-Dont-Know-JS https://github.com/getify/You-Dont-Know-JS