LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: "igor.stoppa@gmail.com" <igor.stoppa@gmail.com>
Cc: Jonathan Corbet <corbet@lwn.net>, linux-kernel@vger.kernel.org
Subject: Re: [RFC: Coding Style] Best way to split a long function declaration with modifiers
Date: Sat, 12 May 2018 09:24:41 -0700	[thread overview]
Message-ID: <f7cbb08dded668f07401276266689933f31dd23d.camel@perches.com> (raw)
In-Reply-To: <CAH2bzCT0BhTy6-hTkaevt1VyYaZpq=AvF6cRpPHs=tzzU76twg@mail.gmail.com>

On Sat, 2018-05-12 at 19:07 +0300, igor.stoppa@gmail.com wrote:
> On 12 May 2018 at 18:41, Joe Perches <joe@perches.com> wrote:
> 
> > 
> > I think the first style should be preferred when the
> > combined character length of <type> <function_name> is
> > relatively long.
> > 
> 
> thank you, I could provide a patch to the docs for this case, if it's not
> considered too much of a corner case.

I think it should not considered anything like a mandate.

Perhaps it could be described as an optional/possible style
but perhaps as well it's not necessary as coding_style for
this does not have to be rigidly specified.

cheers, Joe

      parent reply	other threads:[~2018-05-12 16:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-12 15:19 Igor Stoppa
2018-05-12 15:41 ` Joe Perches
2018-05-12 16:10   ` Igor Stoppa
     [not found]   ` <CAH2bzCT0BhTy6-hTkaevt1VyYaZpq=AvF6cRpPHs=tzzU76twg@mail.gmail.com>
2018-05-12 16:24     ` Joe Perches [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7cbb08dded668f07401276266689933f31dd23d.camel@perches.com \
    --to=joe@perches.com \
    --cc=corbet@lwn.net \
    --cc=igor.stoppa@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [RFC: Coding Style] Best way to split a long function declaration with modifiers' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).