[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: perlstyle and portability



There is more than one width to use as your tab
character.  Isn't this what Perl is all about?  Not
forcing people to do something for no reason other
than "I like it.  It has always been that way.  This
is how we do it."  Fixing this falls less into
"change" and more into "gee, I didn't realize that it
was broken".

Having an indent made up of mixed spaces and tab
characters just doesn't make any sense.  Hardcoding
file paths is a bad thing.  Hardcoded tab characters
to 8 columns is a bad thing.  Assume nothing!  

As The Humungous would say, "We do it MY WAY!"
(MadMax) So far, arguments against fixing this problem
fall into this category.  Data from "Windows Notepad"
does not tell of a standard, only a trend.  Can't you
do any better than that?

I am in favor of changing all indents to tab
characters.  That way, code will be properly
formatted, regardless of what tabwidth is set to.

--- Hugo <hv@crypt.compulink.co.uk> wrote:
> Certainly the 'every indentation is a tab' approach
> is what I use in all
> code I write; the perl source code is the only area
> in which I do not get
> to choose what width each indent will represent, and

Well said buddy.
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]