getting p5p to agree on [anything]
Obtaining positive opinions are always going to be harder than the skills; though you're in a class of very few in the latter regard.
Shame it never made it in. That looks very well thought through. Applying an attribute to a subroutine is a) something I'd never thought of; b) (IMO) the perfect way to add it to the syntax,
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] |
the perfect way to add it to the syntax
But the issue with macros is not how to indicate the interpreter you are declaring one but how to tell the interpreter the kind of arguments you are expecting.
In Lisp (and family) you don't have this problem because the language doesn't have a grammar but on Perl, in order to parse something, you need to know where you are.
The macros in my patch only accept one kind of arguments (expressions) ruling out several interesting usages. For instance, extending the syntax as in try {...} catch {...}.
| [reply] [d/l] |
The macros in my patch only accept one kind of arguments (expressions) ruling out several interesting usages. For instance, extending the syntax as in try {...} catch {...}.
I actually consider that a plus. IMO, macros should be limited in both their power and scope. And the in-lining of 'functions' (only) is, for me, the perfect break point.
The syntax and semantics of functions are very clearly defined and understood. And macros that mirror those are thus easy to learn reason about and use.
It has been a very long time since I did Lisp, and I was not very good at it then; but I do remember that only thing worse than the (lack of) syntax, was the unholy mess you get into when trying to debug errant Lisp macros. Yuck!
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] |