Messages in this thread |  | | | From | Oliver Neukum <> | | Subject | Re: drivers/block/ub.c | | Date | Sun, 27 Jun 2004 18:11:07 +0200 |
| |
Am Sonntag, 27. Juni 2004 17:23 schrieb Andries Brouwer: > Always write simple direct obvious code. Avoid all casts. > Uglifying code burdens maintenance. It endangers correctness. > It is reasonable only when efficiency is really important, > when every nanosecond counts (and the ugly code is really faster). > That is not the case here.
No, writing the same code thousands of times makes code unmaintainable. Finding correct and nice helper macros makes the code good. Doing things "by foot" is the stone age way.
Regards Oliver
- 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/
|  |