Still Reading “Learning Perl”…

It’s a good book. I wish I could have more time to dedicate to reading and working the exercises. I’ll be out-of-town this weekend and won’t make much progress. I’ve just finished reading Ch 4, the subroutines chapter.

I’d like to make an observation, which some might observe to be a rant….

I think the fact the Perl makes the use of parentheses optional is just weird, crazy, and maybe dumb! It really hurts the readability of code, and for beginners it’s really annoying! It looks weird. It’s just stupid…..

Maybe I’ll change my mind later, but for now I’m out on not using parentheses. You won’t catch me omitting them.

This Post Has 2 Comments

  1. Randal L. Schwartz

    Well, I always say “you can do whatever you want in the privacy of your own cubicle”.

    I tend to leave parens off the built-ins, and include them on my own subroutines, just to let me quickly see which is which.

  2. Erik


    I can see the logic for when you do and don’t use the parens, but me being a Java programmer for so long, I don’t think I can handle looking at code w/out the parens. For now, I’m going w/ the parens. Once I know Perl, I might change my mind.


Leave a Reply