DEV Community

Discussion on: Understanding linked lists using JavaScript

Collapse
 
chukwutosin_ profile image
Tosin Moronfolu • Edited

Hey Luke,

  1. I agree that there are other ways apart from using classes, but this article specifically uses classes to explain it.

  2. I agree there we can use Array in JavaScript but it has some advantages over arrays which was stated also in this article. Also, the title suggest that we're explaning the concept and the language is just a tool for explanation.

  3. I should have added a note about the CJS require thing. Did it that way so as to test the application in the terminal using node without having to do anymore extra set up.

Overall, I understand and agree with your point. Programming is dynamic and there isn't one way to do solve or create something. Thanks for your input, Appreciate it.

cheers.