I strongly doubt that. It might be better if you just put a couple of lines of comments at the start, but that doesn't help you if you are on line 100, and the top has scrolled of the screen. It doesn't make programming any easier.

How is this different from introducing refaddr to a module with use Scalar::Util qw(refaddr)? If people can understand that new subroutines can come from modules why should they have problems understanding that new syntax can come from modules? Lispers and Pop-11 coders don't appear to have any problems doing this.

And so does C

Comparing C and Lisp macros is hardly comparing like-with-like is it? :-)

Just look at the multitude of people who understand the sources of perl.

Perhaps if the Perl 5 lexer/parser/code-planter was designed in a different way more people would be able to understand it? Maybe if it was more modular and more exposed to the end user people would be able to tweak the bits they were interested in tweaking without having to understand all of the source?


In reply to Re^4: Apocalypse 12 by adrianh
in thread Apocalypse 12 by broquaint

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.