2 ms·
To be fair, languages like Ruby and Javascript only have one sequence container in their standard lib and the difference just doesn't come up for most people mo
by always_good 9y ago
To be fair, languages like Ruby and Javascript only have one sequence container in their standard lib and the difference just doesn't come up for most people most of the time. Just like how most day-to-day data for most people probably fits in array with a capacity <100. And the most common day-to-day operations are array[0] and array.append().
And even when it's thrown in your face like listOf() vs arrayOf() in Kotlin or [] vs '() in Clojure, one is the conventional default that you use most of the time anyways.
That said, someone who doesn't know what a linked list may also be lacking experience with many other things that you would expect from a candidate, but it's no mystery how someone can go far without really encountering one.