Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Tab support for nu.xom.Serializer?

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Noam Tamim <noamtm AT gmail.com>
  • To: Elliotte Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org, Alex Blewitt <alex_blewitt AT yahoo.com>
  • Subject: Re: [XOM-interest] Tab support for nu.xom.Serializer?
  • Date: Wed, 5 Oct 2005 15:52:43 +0300

Slightly off topic, but can you please elaborate on that? I see only
benefits to using tabs instead of spaces. I'm interested in the trouble you
think it causes.

Thanks, Noam.

On 10/3/05, Elliotte Harold <elharo AT metalab.unc.edu> wrote:
>
> Alex Blewitt wrote:
> > The Serializer class supports a number of spaces for
> > indentation purposes (via the setIndent method).
> > However, we use tabs at work so that individuals can
> > set their own visual distance by affecting how tabs
> > are rendered in the editor.
> >
> > This doesn't seem possible with the Serializer class.
> > Would it be possible to add support for inserting a
> > tab instead of 'n' spaces, either now or in the
> > future?
> >
>
> Using tabs for indentation in source code is a bad idea. It causes
> nothing but trouble. This feature will not be added.
>
> --
> Elliotte Rusty Harold elharo AT metalab.unc.edu
> XML in a Nutshell 3rd Edition Just Published!
> http://www.cafeconleche.org/books/xian3/
> http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
> _______________________________________________
> XOM-interest mailing list
> XOM-interest AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/xom-interest
>




Archive powered by MHonArc 2.6.24.

Top of Page