[lkml]   [2004]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Lindent fixed to match reality
    On Thu, Jan 29, 2004 at 01:37:28PM -0600, Matt Mackall wrote:
    > I've been fiddling with cleaning up some old code here and suggest the
    > following to make Lindent match actual practice more closely. This does:
    > a) (no -psl)
    > void *foo(void) {
    > instead of
    > void *
    > foo(void) {
    > b) (no -bs) "sizeof(foo)" rather than "sizeof (foo)"

    I can't really see the logic in this, though I know a lot of people do
    it. I try to stay consistent, thus I do:

    if ()
    for ()
    case ()
    while ()
    sizeof ()
    typeof ()

    since they're all parts of the language, rather than
    functions/macros or invocations of such.


    Of course, coding-style is religion, and religion as a topic is a
    sure-fire way to turn every civil conversation into full out battle,
    so I've begun building a bomb-shelter where I'm going to spend the next
    few months...

    Regards: David Weinehall
    /) David Weinehall <> /) Northern lights wander (\
    // Maintainer of the v2.0 kernel // Dance across the winter sky //
    \) (/ Full colour fire (/
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:00    [W:0.042 / U:100.948 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site