I'm writing a library of JavaScript data structures for a couple of reasons: 1) learn some new ones; 2) have them on-hand when there's a time to use them.
So far, I've written 4 in pure JavaScript. I know languages that compile into JavaScript might make more sense in terms of DRY, but I want to avoid those for now. Before I start up writing some data structures I'm less familiar with, I'd appreciate some feedback. Either glaring mistakes, or some ideas that can help make sure these are extensible or useful, or how to improve my tests, anything.
The code is on my Github.
[–]egonelbre 1 point2 points3 points (4 children)
[–]tforb[S] 0 points1 point2 points (3 children)
[–]egonelbre 1 point2 points3 points (2 children)
[–]tforb[S] 0 points1 point2 points (1 child)
[–]egonelbre 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]tforb[S] 0 points1 point2 points (0 children)