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

Re: perlstyle and portability



On Sun, 30 Jan 2000, Gurusamy Sarathy wrote:
> I guess there are three camps here then:
> 
>   1. don't care, but leave ts=8 alone dammit!
>   2. only spaces for indents dammit!
>   3. only tabs for indents dammit!
> 
> Note that:
> 
>   * camp #1 is generous about accepting code from both camp #2 or #3.
>   * #2 and #3 are both difficult to implement for an open source project,
>     because they require strict enforcement of editor settings/user
>     habits.
>   * code from both camps #1 and #2 can be sent to a printer or cat-ed
>     to a terminal without getting confusing/wrapped.
>   * code from #2 looks the same everywhere regardless of tabstop,
>     because they don't use no steenking tabs.
>   * code from #3 allows users to customize how the code looks in an
>     editor that allows changing ts (but loses when you send it to a
>     printer).  camps #1 and #2 must mandate an indent width in
>     practice (e.g., sw=4 for Perl source)

alias lpr='enscript -Plp -C -T4 -E'

:)

-- 
<Matt/>

Details: FastNet Software Ltd - XML, Perl, Databases.
Tagline: High Performance Web Solutions
Web Sites: http://come.to/fastnet http://sergeant.org
Available for Consultancy, Contracts and Training.


References to:
Gurusamy Sarathy <gsar@ActiveState.com>

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