From: Tom Wijsman <TomWij@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Cc: bernalex@gentoo.org
Subject: Re: [gentoo-portage-dev] Indentation level
Date: Wed, 26 Mar 2014 13:23:01 +0100 [thread overview]
Message-ID: <20140326132301.7d96602d@gentoo.org> (raw)
In-Reply-To: <5332B42B.9020905@gentoo.org>
On Wed, 26 Mar 2014 12:04:11 +0100
Alexander Berntsen <bernalex@gentoo.org> wrote:
> To avoid bikeshedding I just propose to set it to 4. Any objections?
Well, it might happen anyway; I prefer 4 myself, but I foresee that
someone that uses less might speak up, those that use more are less
common afaik. So, we might as well jump straight to the hard arguments;
if difference then does come up, it gives us reading material to vote.
From what I recall, the most common argument to set something like 2 is
to get more indentations on the screen; however, consider that the more
indentations are brought on the screen, the deeper in the code you can
get. Surely if you get around something like ~10 indentations you are
likely in need of extracting a function to keep the code clean.
People can still override the "presentation" of their editor to behave
different if they need to differ from the default; note that this is
presentation, while the editor could respect to save it in the format
we've expected this at. Though, changing presentation like this could
again make differences in alignment; and thus, if someone does change
the presentation I expect them to check the normal tab stop before
doing or changing alignments.
--
With kind regards,
Tom Wijsman (TomWij)
Gentoo Developer
E-mail address : TomWij@gentoo.org
GPG Public Key : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D
next prev parent reply other threads:[~2014-03-26 12:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-26 11:04 [gentoo-portage-dev] Indentation level Alexander Berntsen
2014-03-26 12:23 ` Tom Wijsman [this message]
2014-03-26 12:26 ` Alexander Berntsen
2014-03-28 8:50 ` [gentoo-portage-dev] [PATCH] DEVELOPING: Be more specific about tabs/spaces Alexander Berntsen
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=20140326132301.7d96602d@gentoo.org \
--to=tomwij@gentoo.org \
--cc=bernalex@gentoo.org \
--cc=gentoo-portage-dev@lists.gentoo.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox