Implementing linked list is good for learning, but I hope you're not trying to actually use it in productions.
Vecs are much better, and if for some reason you want a linked list, use std::collections::LinkedList (unless for some really weird reason you need a singly-linked list, then build it on yourself).
True, It is essentially made for learning . When developing software I would always prefer using existing libraries than creating my own ( don't reinvent the wheel unless the wheel is square shaped ).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Implementing linked list is good for learning, but I hope you're not trying to actually use it in productions.
Vec
s are much better, and if for some reason you want a linked list, usestd::collections::LinkedList
(unless for some really weird reason you need a singly-linked list, then build it on yourself).True, It is essentially made for learning . When developing software I would always prefer using existing libraries than creating my own ( don't reinvent the wheel unless the wheel is square shaped ).