develooper Front page | perl.bootstrap | Postings from July 2000

Re: Complex Problems vs. Simple Tools

Thread Previous
Chip Salzenberg
July 24, 2000 19:17
Re: Complex Problems vs. Simple Tools
Message ID:
According to Peter Scott:
> I want to go *much* further in Perl 6, and make -w and strict the
> defaults [...]

This could be OK, maybe.  But "no strict" must always be convenient
for quick&dirty code, or there's no point in having it.  So "no
strict" should be [1] made very convenient, probably as a command line
option and [2] automatically the default when using the '-e' option.

> By way of further inflammatory suggestions, I would like the (less)
> strictness levels to be install-time options, so that sites can make
> policies for their developers that prohibit some or all strictness
> being turned off in their perl.

Portability is an issue here.  Perhaps the default strictness could
vary by the directory where the code is found.  That way you could
have Abigail's code in the "declare your variables or suffer!"
directory, and Randal's in the "what does 'strict' mean?" directory.
Chip Salzenberg              - a.k.a. -              <>
"I wanted to play hopscotch with the impenetrable mystery of existence,
    but he stepped in a wormhole and had to go in early."  // MST3K

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About