One of my first projects involved linked lists. Oh boy was that the right wrong project to start with.
I've never written linked lists the same way in other languages since.
Rust made me better in languages that aren't Rust.
I've never written linked lists the same way in other languages since.
Rust made me better in languages that aren't Rust.
https://rust-unofficial.github.io/too-many-lists/
You can skip her explanation of why the Linked List is a bad first data structure, and get straight to doing, but if you have no idea why a very experienced programmer would think this data structure is terrible (so terrible she tried but failed to have it removed from Rust's Standard Library before Rust 1.0) you should read her whole PSA too.