Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • The perl5 source is a twisty impenetrable maze of macros. I know that macros can be jolly useful when used wisely, but do please be careful not to fall into the same trap!
    • Oh certainly, I don't plan on making Parrot more obfuscated than it already is ;-).

      The macros come in with trying to make Parrots guts easier to understand. malloc() is a typical sore spot. By definition, it returns void * pointers. That's fine, but it causes severe problems in comprehension when people have a function which happens to call malloc() return the void * without casting it to something else. My thoughts are on performing this cleanup by use of macros to avoid the parenthesis hell that usually accompanies properly cast malloc() calls.