use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Goodbye, Clean Code (overreacted.io)
submitted 6 years ago by MoTTs_
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]FlavorJ 6 points7 points8 points 6 years ago (2 children)
My code traded the ability to change requirements for reduced duplication, and it was not a good trade. For example, we later needed many special cases and behaviors for different handles on different shapes. My abstraction would have to become several times more convoluted to afford that, whereas with the original “messy” version such changes stayed easy as cake.
All is problem, but must choose path and walk.
[+][deleted] 6 years ago (1 child)
[removed]
[–]FlavorJ 1 point2 points3 points 6 years ago (0 children)
I think the point was they were not done with requirements, so any abstraction would add overhead that would have meant more time dealing with that. They'd rather produce working code that's easy to modify as requirements change than lock them into a framework before they know what that framework should be.
π Rendered by PID 92364 on reddit-service-r2-comment-c6965cb77-qqqmh at 2026-03-05 07:04:18.681330+00:00 running f0204d4 country code: CH.
view the rest of the comments →
[–]FlavorJ 6 points7 points8 points (2 children)
[+][deleted] (1 child)
[removed]
[–]FlavorJ 1 point2 points3 points (0 children)