• Buddahriffic@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    24 hours 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.