you are viewing a single comment's thread
view the rest of the comments
[–] 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.

  • source
  • parent