Re: driver source code indentation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Barry Lind <barry(at)xythos(dot)com>
Cc: Liam Stewart <liams(at)redhat(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: driver source code indentation
Date: 2001-09-04 20:59:20
Message-ID: 5813.999637160@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Barry Lind <barry(at)xythos(dot)com> writes:
> I am OK with the style used for the C code. However I would like the
> following additional step done for the java code: replace all tabs with
> spaces.

I disagree with this, because then we are *not* applying the same coding
standards in the backend and in JDBC. If you want to propose that we
dispense with tabs throughout the system, feel free to propose that ---
but it was shot down last time and likely will be again.

I personally concur that four-space tabs is a horrible standard, and
would much rather see us using eight-space tab stops. But I haven't
been able to obtain any significant consensus for that view. Some
developers apparently use editors where a physical tab character needs
to equal the logical indent amount...

regards, tom lane

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2001-09-04 23:01:53 Re: driver source code indentation
Previous Message Joseph Shraibman 2001-09-04 20:56:28 Patch for jdbc2 ResultSet.java