3 ms·
I dont get why we need this. I actively avoid classes in JS and dont really see the need for static blocks. Its something Ive never needed. Id like to see more
by qudat 5y ago
I dont get why we need this. I actively avoid classes in JS and dont really see the need for static blocks. Its something Ive never needed.
Id like to see more functional programming concepts implemented before more OOP.
- simion314 5y ago>I actively avoid classes in JS JS has things like String,Number,Date why not use classes to create your own stuff (say Customer,Product, Transaction) and have your pure functions operate and return well defined objects - for sure it helps with readability and maintainability.