3 ms·
> JavaScript/TypeScript: a mess Absolutely correct. The solution that’s hard to teach is to use less in them. If you only use primitives, one type of condition
by austin-cheney 2y ago
> JavaScript/TypeScript: a mess
Absolutely correct. The solution that’s hard to teach is to use less in them. If you only use primitives, one type of condition, one type of loop, and then organize everything as if they were functions or data structures you will be just fine. Most people lack this discipline and do what’s easy or stylish only to complain about it later.