Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I used to work in a company that programmed entirely in Forth. Yes it was a long time ago. In Forth there were not any types at all. And zero error checking. Forth tended also to be extremely terse. On account of that everybody who wrote Forth code very soon developed their own private dialect...which no other Forth programmer anywhere could easily read.

That situation is doubtless contributory to very few people even having ever heard of Forth today. Yet I do remember a certain liveliness of freedom those lack of restrictions afforded. And I remember enjoying them. Perl's own inbuilt freedoms were a large measure of what lured me to it originally. I shouldn't enjoy to see them trimmed too severely back. That would be saddening, I think.

I did have a rather short affair with Perl Critic. It did not much inspire me to run out and buy the book from which it cites most of its rules. At first I tried to take all its advice. And the results to me looked hideous. Having started out in Forth, I find Perl's flexibility, broad as it is, refeshingly restrained. But I shouldn't want it any tigher. I just do not see the point of having to do "if (bar) {foo}" always in favor of "foo if bar" for no better reason than to prevent C++ folks from being shocked by it.

My current fling is with a new book entitled Higher Order Perl which promotes the idea of functional programming in Perl. The first two chapters alone are worth the price of the book. The section on using dispatch tables has done more to make my code more readable than Perl Critic was able to do, I rather tend to think.


In reply to Re: What is code readability? by aplonis
in thread What is code readability? by brian_d_foy

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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (2)
    As of 2020-07-13 01:23 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?