News for hackers. Stuff that matters.
Re:JavaScript Algorithms and Data Structures (2018) by filoeleven on Friday October 22, 2021 @09:33PM (#28964828)
Are there practical reasons for using a linked list in JS? This is an honest question. I’ve taken immutability to heart, so storing a stable yet presumably mutable reference to a cell seems like a bad idea to me. (If it’s immutable, you can keep and use the cell’s value instead of caring that it came from a list.)

There are no comments on this comment yet.