4 ms·
The secret to development is to just follow classic programming patterns instead of new school "best practices" that are rife among the kinds of programmers who
by pwdisswordfish8 5y ago
The secret to development is to just follow classic programming patterns instead of new school "best practices" that are rife among the kinds of programmers who are creating Electron apps, and you should be good. In fact, JS is insanely fast, so you don't even need to do that. (Netscape 6, which came out 20 years ago, had tons of its parts written JS, down to the AOL Instant Messenger client it shipped with. It was essentially the forebear to every Electron app you see today, except it was supposed to run on computers with 64 MB of RAM, CPUs measured in hundreds of megahertz, and this was all fully interpreted, not JITted.) NodeJS development is so bad that you can appear to be nimble just by not sucking as much as the status quo. "You don't have to be faster than the bear..."
A second thing you can do is not rely on a bunch of bloated, poorly written libraries just because they're popular—another "best practice", of a different sort. I.e., pretty much the opposite of this advice, ironically:
<https://youtu.be/X61wRmfZU8Y?t=223 https://youtu.be/X61wRmfZU8Y?t=223>
- er4hn 5y agoCan you list out some classic patterns that you see being ignored?