Skip to content

Comment on JavaScript Algorithms and Data Structures (examples and explanations of each)

Comments

You should write your code so that it can be easy to change. Instead of reusing something to save you 5 minutes of typing, just use it as boiler plate and rip out what you dont need and rewrite the stuff that is not exactly what you need. And use language built in structures rather then defining your own, it makes the code easier for others and more performant.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.