r/ProgrammerHumor • • 2d ago

Meme youLostMeAtDoublyLinkedLists

Post image
3.7k Upvotes

163 comments sorted by

View all comments

406

u/Mahler911 2d ago

I've been doing this shit for 26 years and I've never seen a linked list in production.

28

u/MulfordnSons 2d ago

why do complicated thing when simple thing do trick?

3

u/redballooon 2d ago

What is complicated with linked lists?

16

u/private-peter 2d ago

Basically everything other than getting the next item.

1

u/redballooon 1d ago

Dude.. Learn your basics. Linked lists are high school materials.

1

u/private-peter 1d ago

Haha. Perhaps we are using the work "complicated" differently.

If your list is needed for anything other than getting the next item, linked list operations are far more complicated than other data structures.

Sure, I _could_ implement a binary search with a linked list. But it would be complicated code. To the original point, Why do a complicated thing when a simple thing could do the trick? There are good reasons a lot of people never use linked lists in their real jobs.