Messages in this thread | | | Subject | Re: [RFC][PATCH 1/5] Virtualization/containers: startup | From | Jes Sorensen <> | Date | 06 Feb 2006 05:16:33 -0500 |
| |
>>>>> "Linus" == Linus Torvalds <torvalds@osdl.org> writes:
[snip - excellent description of typedefs considered evil]
Linus> Maybe there are other cases too, but the rule should basically Linus> be to NEVER EVER use a typedef unless you can clearly match one Linus> of those rules.
Linus> In general, a pointer, or a struct that has elements that can Linus> reasonably be directly accessed should _never_ be a typedef.
Hi,
This one sounds like yet another example of something any new Linux developer should print and stick on his/her wall next to their monitor.
A candidate for Documentation/ any volunteers?
Cheers, Jes - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |