Re: driver source code indentation - Mailing list pgsql-jdbc

From Thomas O'Dowd
Subject Re: driver source code indentation
Date
Msg-id 20010905094154.R32410@beast.uwillsee.com
Whole thread Raw
In response to Re: driver source code indentation  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-jdbc
On Tue, Sep 04, 2001 at 04:59:20PM -0400, Tom Lane wrote:
> Barry Lind <barry@xythos.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...

I'm putting in my vote for keeping tabs and not using spaces. The thing
I love about tabs is the ability to change the tabstop according to your
needs. It's a flexibility that you don't get with spaces. Then again
I do all my coding in vim. Other than that I'm all for cleaning up the
source code to the one standard. Go for it!

Tom.
--
Thomas O'Dowd. - Nooping - http://nooper.com
tom@nooper.com - Testing - http://nooper.co.jp/labs

pgsql-jdbc by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Patch for jdbc2 ResultSet.java
Next
From: Bruce Momjian
Date:
Subject: Re: JDBC Statement.executeBatch patch