public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: William McArthur <sandymac@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Ebuild indentation (tabs vs. spaces) fascism ;^)
Date: Sat, 27 Apr 2002 18:40:06 -0400	[thread overview]
Message-ID: <3CCB28C6.7050409@gentoo.org> (raw)
In-Reply-To: 87elh07pmy.fsf@tea.thpoon.com

Arcady Genkin wrote:
> Two questions:
> 
> 1. What makes tabbed indentation in ebuilds so much better than
>    indentation with spaces?  I know *plenty* of reasons *against* using
>    tab characters, but I must be missing something obvious, because I
>    know no reasons in favor of tabs.

I have no preference of one over the other but I prefer one over both.

> 2. Even if it turns out tabs are somehow better than spaces, why do
>    we want to be so fascist[1][2] about it?  Why don't we let the ebuild
>    maintainer to decide which approach suits his philosophy, editor and
>    habits?  We can still require that all indents are 4 spaces wide; I'm
>    only talking about tabs/spaces issue.

Because any large project must maintain a level of consistencey. While 
tab vs spaces is a minor issue it is part of a larger whole and as such 
is important. My mother used to pound in to me: "Mind your pennies and 
your dollars will take care of themselves." I don't know who she was 
quoting but the same logic applies here.

Where there isn't any place I know of the specificly spells out the 
tab/space usage in an ebuild if you look at /usr/portage/skel.ebuild you 
will see that tabs are uses.

> Footnotes: 
> [1]  Talking about bulk force-tabbifying ebuilds.
> [2]  Please note the smiley in the subject line before you stone me
>      for my choice of words.

Sandy McArthur



  reply	other threads:[~2002-04-27 22:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-27 22:17 [gentoo-dev] Ebuild indentation (tabs vs. spaces) fascism ;^) Arcady Genkin
2002-04-27 22:40 ` William McArthur [this message]
2002-04-28  1:36 ` Bruce A. Locke
2002-04-28  3:38   ` Arcady Genkin
2002-04-28  5:05     ` Bruce A. Locke
2002-04-28  5:31       ` William McArthur
2002-04-28  6:53         ` Arcady Genkin
2002-04-29 12:08         ` Spider
2002-04-29 12:26           ` William McArthur
2002-04-29 17:00             ` Joachim Blaabjerg
2002-04-29 15:36               ` Jon Nelson
2002-04-29 15:39               ` Vitaly Kushneriuk
2002-04-28 12:00     ` Alexander Gretencord

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=3CCB28C6.7050409@gentoo.org \
    --to=sandymac@gentoo.org \
    --cc=gentoo-dev@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