[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
perlstyle and portability
The formatting of core modules uses an unfriendly,
unportable layout. I am talking about the use of 4
spaces for an indent and a tab for an eight column
indent. Formatting of scripts is buggered if your OS
doesn't enforce tabs to be 8 columns.
I have already discussed this with a couple of
flavours of cheese from the Perl community. Their
argument is: "a tab character is 8 columns, and is
immutable." Incorrect, I have set my tab character to
3 columns.
It is time to leave this proprietary unix file format
behind. I see two methods to fix the core modules:
1) Change all indents to tab characters. Not too
effective as for people with 8 column tabs, the
formatting will change radically.
2) Change all indents to spaces. The current expected
format will remain the same, and will finally show
properly on systems that aren't using 8 character
tabs.
For those who want to preach about their editor, how
it allows this and that and and more (read vi people),
head over to one of the python/awk/vb lists. Nobody
and I mean *NOBODY* wants another editor war. Post
that religious drivel elsewhere.
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
- Follow-Ups from:
-
Chris Nandor <pudge@pobox.com>
JVromans@squirrel.nl (Johan Vromans)
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]