News for hackers. Stuff that matters.
Re:Linus Torvalds' good taste argument for linked lists, exp... by toast0 on Sunday December 06, 2020 @05:32PM (#25327273)
> so it leaves me with the uneasy feeling "what if there's a bug?"

The second solution takes me a bit longer to wrap my head around, but once I do, I like it more, because there's fewer conditionals, and so there's less chance that the function breaks on unusual conditions.

Using fewer local variables is also a nice plus.

There are no comments on this comment yet.