Hacker News new | ask | show | jobs
by masklinn 1339 days ago
On the other hand the way the interfaces are layered is not ideal, because the implications of e.g. `removeFirst` and `removeLast` for an arraylist are very different from a linked list.

Or getLast on an arraylist (or doubly linked list) versus singly linked.