599
you are viewing a single comment's thread
view the rest of the comments
[-] Buddahriffic@lemmy.world 2 points 1 year ago

One has a function that takes the next node as an argument, another just sets that up in a loop. Personally, I found the loop one a bit easier to visualize and debug via stepping through code, though admittedly the difference isn't huge.

this post was submitted on 11 Nov 2025
599 points (97.8% liked)

Programmer Humor

34208 readers
1895 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS