4 ms·
This is coding 101: Write/include only the code you need. No more, no less. To quote ESR (as much as I hate doing so), "Don't just do something, stand there!"
by qwertyuiop924 10y ago
This is coding 101: Write/include only the code you need. No more, no less. To quote ESR (as much as I hate doing so), "Don't just do something, stand there!"
And yes, security and error checking are necessary. Anybody who says otherwise should be drawn, quartered, shot, and fired.
As much as I like this post, a framework sometimes has some value. If you're writing a true SPA, it'll only be loaded once, and something like React or Mithril is nice for a bit of structure. Mithril in particular, due to its small size, is handy.
- vidarh 10y agoI don't see the post as arguing against a framework per se, but arguing against pulling in and using code for things you can do as well or better without it, and only pulling out the heavy guns where it's actually necessary.
- omni 10y ago> To quote ESR (as much as I hate doing so), "Don't just do something, stand there!" I tried to figure out what ESR meant here and after a minute of Googling I'm guessing it's Eric S. Raymond[1]. Please consider not using uncommon acronyms on online forums, it obscures your meaning. [1] http://www.catb.org/esr/writings/taoup/html/ch12s01.html http://www.catb.org/esr/writings/taoup/html/ch12s01.html
- riboflava 10y agoI hope you're complaining about "ESR" instead of "esr", because his initials, much like "rms" et al. are common acronyms, especially on online forums like Hacker News.
- qwertyuiop924 10y agoESR is a fairly common abreviation. Just like RMS, K&R, SICP, BDFL, BNF, TAOCP (aka Knuth), XHR, AFAIK, and RTFM.
- AceJohnny2 10y agoI'm glad you included RMS, but what about JWZ [1], GKH [2] or JGC [3] ? :] [1] https://www.jwz.org/about.html https://www.jwz.org/about.html [2] https://plus.google.com/+gregkroahhartman https://plus.google.com/+gregkroahhartman [3] http://blog.jgc.org/ http://blog.jgc.org/
- qwertyuiop924 10y agoForgot JWZ, but it's usually Greg KH, not GKH. Although either works... JGC hasn't written any particularly well-known code. On the flip side, we both took it in turn to forget GLS (aka The Great Quux), to say nothing of johnc.
- viraptor 10y agoAnd DHH (David Heinemeier Hansson)
- qwertyuiop924 10y agoYep, but don't forget KT and DMR.
- me_again 10y agoThe quote much predates ESR or any other TLA'ed individual: http://quoteinvestigator.com/2014/03/22/stand-there/ http://quoteinvestigator.com/2014/03/22/stand-there/
- qwertyuiop924 10y agoHowever, I heard it from ESR, and so that is who I quote. He also is one of the few to apply it to programming.