4 ms·
JS frameworks were a terrible mistake
by verbalstoner 2y ago
JS frameworks were a terrible mistake
- voat 2y agoYou're either using a framework, or unintentionally writing your own
- mickael-kerjean 2y agoI rewrote one of my apps in vanilla JS to get the most performance possible, the wheel I had to reinvent is under 150 line of code [1], definitely worst the small cost [2] [1] framework code: https://github.com/mickael-kerjean/filestash/tree/master/public/assets/lib/skeleton https://github.com/mickael-kerjean/filestash/tree/master/pub... [2] example: https://github.com/mickael-kerjean/filestash/blob/master/public/index.backoffice.html https://github.com/mickael-kerjean/filestash/blob/master/pub...
- rglover 2y agoThe frameworks aren't the problem, it's their authors. There's a virus in the JavaScript world that makes people think ever-more complex solutions make tools better. After years asking "why is it like this" (I'm a JS dev/framework author), I realized this is likely due to an inferiority complex because hearing "real programmers don't use JavaScript" makes people feel bad so they try to compensate with complexity and end up creating messes. That and complexity pays well.