I disregard purists and puratism, just as I do all forms of dogmatism, in code and in life. Whilst most dogma starts life as useful rules of thumb, once they become elevated to "Thou shalt not..." rules, they become constricting instead of enabling.

The master carpenters adage, 'measure twice, cut once' is extremely good advice for any occasional DIYer, but if the same master carpenter was offered employment on the basis that he would always measure twice, he'd probably pass.

With respect to the particular 'one entry-one exit' rule, Maybe you'll forgive me if I lapse into another analogy. Can you imagine if every road started at one city/town/village/district/house and ended at another? Or if you had to have a seperate waterpipe from source to every house?

Branches are useful. Tee's are useful. I understand the sentiment behind it. Really I do. And in the past I have written some torturous code attempting to comply with it.

I think that (for me) the most important word in that oft-denied acronym that isn't, is Practical. It's that one word and Mr.Wall's greater concept underlying it, that defines the way Perl is. It's that one single notion that made and continues to make perl so useful and usable. It's also what makes it fun.

If there is one thing that I fear with the advent of the drive to Perl 6 it's that that element of the language may get watered down and lost somewhere along the way in favour of more 'correct' notions. I know I am not alone in this fear, though I don't have quite such a pessimistic view of the future as some.

In sincerely hope that LW has the strength, energy and resolve to incorporate those features that will allow stricter adherance to some of the purer OO-concepts and provide for extension of existing syntactic sugar where these 'fit', without allowing the language to become bogged down with the 'Thou shalts' and 'Thou shalt nots' that constrain, complicate and frustrate in many other languages.

Time will tell, but from what I seen of what's coming out of the Perl 6 camp, we're "safe in his hands".


Examine what is said, not who speaks.

The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.


In reply to Re: A matter of style by BrowserUk
in thread A matter of style by Ryszard

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.