LWN.net Logo

Quotes of the week

Quotes of the week

Posted Dec 6, 2012 18:44 UTC (Thu) by iabervon (subscriber, #722)
Parent article: Quotes of the week

Surely it's unintuitive for a double-circularly-linked list (like list.h provides) to have "next" and "prev" pointers, since these suggest that repeated use won't eventually reach the starting point. It would be much more clear with ->deosil and ->widdershins.


(Log in to post comments)

Quotes of the week

Posted Dec 11, 2012 10:43 UTC (Tue) by dgm (subscriber, #49227) [Link]

In the all great UNIX tradition, I would spell that ->deosi and ->widder for extra fun. In fact I'm going to code right now a doubly linked list just to do that and confuse some sucker (most probably myself) from the future!

Quotes of the week

Posted Dec 14, 2012 13:28 UTC (Fri) by Wol (guest, #4433) [Link]

In FORTRAN tradition, I really did once use two variables called SINIST and DEXTER, because LEFT isn't real.

Cheers,
Wol

Quotes of the week

Posted Dec 15, 2012 11:27 UTC (Sat) by hummassa (subscriber, #307) [Link]

Make that ->deos and ->widd and you don't even have to realign your code!

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds