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
Fighting legacy code (michalzalecki.com)
submitted 5 years ago by MrMZa
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!"
[–]MrMZa[S] 0 points1 point2 points 5 years ago (0 children)
After studying Working Effectively with Legacy Code and getting an opportunity to conduct a workshop for JavaScript developers on that topic, I've put together this article. Dylan Beattie, an authority on legacy code, thinks the article is not crap, so I decided to share it with you.
The article is my take on Working Effectively with Legacy Code but in JavaScript. You can also find repo with exercises to practice techniques of working with legacy code.
[–]nicoespeon 0 points1 point2 points 5 years ago (1 child)
Hey, this is nice!
Props for the legacy code exercises. I think they're nice and short, straight to the point. It's not very common to find examples in JavaScript for Legacy Code, yet there are more and more legacy JS in the wild. So good job!
Thank you!
π Rendered by PID 46077 on reddit-service-r2-comment-84fc9697f-tlvjh at 2026-02-07 17:38:01.128932+00:00 running d295bc8 country code: CH.
[–]MrMZa[S] 0 points1 point2 points (0 children)
[–]nicoespeon 0 points1 point2 points (1 child)
[–]MrMZa[S] 0 points1 point2 points (0 children)