DEV Community

[Comment from a deleted post]
Collapse
 
alephnaught2tog profile image
Max Cerrina

Oh man, I agree 100% about Facebook and React. I had been introduced to React via here and a number of other sites before realizing it was associated with Facebook, and was astonished to say the least. Honestly, it seems like Facebook's forte by far is everything they do and sponsor and create that isn't actually their main product :P (I suspect the programmers of Facebook-the-site-itself have similar opinions, honestly.)

RE classes and ES6, I feel like the biggest thing in my book is: they're nifty, they're definitely a sweeter-than-most level of syntactic sugar, use them if you want and skip them if you don't, but the biggest thing is to just make sure that people who are introduced to them and are using them--both newbies to OOP and not--realize that they are atypical of what many (most?) other languages do with classes. For folks who have done Java and other similar ones, I can get the appeal--and dis-appeal as well--of the class system in JS; but for people who haven't had languages that deal with them in a typical manner, JavaScript's class system is... not a great way to learn something when your future encounters of it are going to behave pretty differently.