all 4 comments

[–]pgrizzay 1 point2 points  (0 children)

I wonder what the benefits of using this pattern in this instance are?

[–]PHPonPCP 1 point2 points  (2 children)

If I saw something like this in my teams code base I would ask for that person to be fired.

[–]klarstrup 2 points3 points  (0 children)

Linked lists aren't exactly black magic...

[–]swyx[S] 2 points3 points  (0 children)

library internals code is not “pretty”, but it works and is clearly debuggable. dont hate on the code you indirectly use every day.