Hi there,

I don't think I am getting power away from über-users when I say I prefer strict and warnings on by default for Perl 6. Nor I think I am leaning towards the newbie camp too much. Perl is a complex language with a steep learning curve at first, specially considering they are teaching Java in the schools now, which distorts their minds into a particularly narrow viewpoint of programming and designing. If everybody say strict should be used, and man perl itself considers warning off by default a Perl bug, I'd say it's simply putting explicitely what many newbies (and not so newbies, either) learn the hard way over the time.

If we free their minds from those troubles from the start they can pursue better things like mastering the rest of the language, which is a feat by itself.

We all have seen (and many written) code like this before:

use strict; ... for my $fun ( @funs ) { no strict 'refs'; *{__PACKAGE__::"$fun"} = sub { blah blah blah } }

... or similar code. We would be just getting rid of two explicit declarations that many people forget to write in their programs. Maybe the explicit telling of them is a good exercise of thoughtfulness and responsibility by itself, I wouldn't disagree to that, but we know from experience that many Perl programmers do not raise to the challenge, and this creates a distrusting fame around the language that affects negatively to all programmers, good and not.

Considering that some people do work using Perl, we don't need to keep feeding the suits with distorted views of the reliability and power of Perl to make a project; enough hype surrounds them from other camps.

I am just trying to be pragmatic and practical...

Best regards,

--
our $Perl6 is Fantastic;


In reply to Re: Re: Requiring use strict by Excalibor
in thread Requiring use strict by Wassercrats

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.