3 ms·
>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
by 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.