Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Apocalypse 12

by Juerd (Abbot)
on Apr 20, 2004 at 09:22 UTC ( #346571=note: print w/ replies, xml ) Need Help??


in reply to Re: Apocalypse 12
in thread Apocalypse 12

Do you think that if people start writing their own grammars (of which I haven't seen any indication that it will be anything but hard to get it right) that that will produce maintainable code?

Yes, I do. (And probably will have a grammar or bunch of macros of my own)

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }


Comment on Re: Re: Apocalypse 12
Re: Apocalypse 12
by Abigail-II (Bishop) on Apr 20, 2004 at 09:40 UTC
    So, on CPAN, we'll get Grammar::Juerd, Grammar::RandomPerlHacker, Grammar::Bleach, Grammar::Pony (might as well move them from ACME::), etc?

    Considering the confusion I've seen after posting a few programming snippets that used the defined-or operator, I don't share your opinion. But time will tell.

    Abigail

      So, on CPAN, we'll get Grammar::Juerd, Grammar::RandomPerlHacker, Grammar::Bleach, Grammar::Pony (might as well move them from ACME::), etc?

      I'm hoping for Dialect::. I want to call my dialect Dialect::Perlego. (Read it however you want. Perl-eg-o (Esperanto for great pearl), Perl-ego, or Per-Lego)

      Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

      Considering the confusion I've seen after posting a few programming snippets that used the defined-or operator, I don't share your opinion.

      Would there have been less confusion if the snippet had something like use Grammar::DefinedOps // //=; at the top?

      The Lisp world copes reasonably well with macros. Pop-11, a nice language I spent several years using, also allowed people to create their own syntax. Nothing terrible happened.

      Yes, the ability to mess with the language at the syntactic level moves from the language developers to the language users. This leads to idiotic language variations that everybody ignores, and clever language variations that everybody uses. If Pop-11 is anything to go by the the most useful will get adopted into the core.

        Would there have been less confusion if the snippet had something like use Grammar::DefinedOps // //=; at the top?
        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.
        The Lisp world copes reasonably well with macros.
        And so does C. Just look at the multitude of people who understand the sources of perl.

        Abigail

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://346571]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2014-08-31 04:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls