If I was reading White Fang for the pleasure of it I agree

Yes! There is a point. Who reads code? And when? And why?

My counter is that White Fang is 271 pages and that White Fang, the Dick and Jane Version (DJV) will run over 1300 pages.

Another counter: Would you really prefer DJV over White Fang for pleasure? Something that is pleasurable is apt to be done well.

I suspect that the DJV will have more instances of the word $lantern to lead me astray when I look for the problem.

I picked that sample to express the limit of some cognitive ability skill of mine. The slicing puts it up there right on or just past my limit. ( Without the slicing it is a no-op.)

I do understand how code needs to be readable by its audience/maintainers. If I were running a crew of programmers, I would consider this a subtle issue.

If I can understand White Fang as well as I can understand DJV, then I don't see any point in your argument. I understand you to be arguing for simplicity. I am pushing for literacy or fluency. I don't see them as opposed. I see this as a skill-level issue, greater fluency makes more things simple.

Be well.


In reply to Re^4: small steps toward Perl literacy, temp vars and parentheses by rir
in thread small steps toward Perl literacy, temp vars and parentheses by rir

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.