On 4/6/07, Stefan Richter <stefanr@s5r6.in-berlin.de> wrote:--- I disagree vigorously - the operators should be at the front of the line, so that the logical structure is clear. [The editor I'm doing this in won't let me use tabs, so I won't even try to do an example...] As other people have noted in this thread, it's a rule that would earn Emerson's "foolish consistency" label, if it actually were followed slavishly. In fact, the kernel looks like people tend to do the right thing, rather than always following the letter of the law. Tab indenting is a good rule for the general case, but there are also places (and breaking long conditionals is at the top of the list) where it's much more important to express the structure, and the structure has too many logical sub-points to line up with the relatively small number of 8-space tabs available in an 80-character line. Of course, expressions too complicated to fit the rule are also a sign that you might want to simplify things... scott -
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| David Woodhouse | [PATCH 1/3] firmware: allow firmware files to be built into kernel image |
| Linus Torvalds | Linux 2.6.21 |
| Parag Warudkar | BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0] |
git: | |
| David Miller | [GIT]: Networking |
| Rick Jones | Re: Network latency regressions from 2.6.22 to 2.6.29 |
| Gerrit Renker | [PATCH 18/37] dccp: Support for Mandatory options |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
