LWN.net Logo

libabc: a demonstration library for kernel developers

libabc: a demonstration library for kernel developers

Posted Nov 4, 2011 2:32 UTC (Fri) by sfeam (subscriber, #2841)
In reply to: libabc: a demonstration library for kernel developers by wahern
Parent article: libabc: a demonstration library for kernel developers

"it's common to write do_foo_to_bar(). In other words, verb, object, subject"

I suppose it's pointless to note that this is really [implicit subject], verb, direct object, indirect object. In other words, normal English sentence order. As in
"What do you do?"
"[I] give food to trolls."

Anyhow, that's a strange definition of "coding style".


(Log in to post comments)

libabc: a demonstration library for kernel developers

Posted Nov 4, 2011 3:02 UTC (Fri) by cpeterso (guest, #305) [Link]

const char *response = troll_feed(&food);
(void)response;

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