[thelist] PAGE OPTIMIZATION: source readability v. download w eight

Jonathan_A_McPherson at rl.gov Jonathan_A_McPherson at rl.gov
Wed Jun 12 15:09:01 CDT 2002


> I would do . . .
>
> if (this == this) {
>     do me;
> } else {
>     do me;
> }
>
> it's cleaner

Not only is it cleaner, it's also the style used by K&R, the authors of C
(which has since been used as a basis for C++, Java(Script), C#, etc). It's
considered standard. I prefer it, too.

And so does Linus Torvalds!

http://adamspiers.org/computing/Linus-Kernel-CodingStyle

--
Jonathan McPherson, LMIT/SD&I
Software Engineer & Web Systems Analyst
email / jonathan_a_mcpherson at rl dot gov
phone / 509.373.0150



More information about the thelist mailing list