Skip to content
quotesby

About this quote

What does it mean?
The autodecrement operator works predictably, not magically.
In plain terms
Autodecrement is just a regular operation.
What can you take from it?
Expect normal behavior from decrement operators.

Where it applies

  • debugging code
  • learning language syntax

Putting it to work

  • read documentation
  • avoid assumptions

Questions to consider

  • Do you rely on shortcuts without understanding them?

Another view

Some developers treat it as a mysterious shortcut.

More from Larry Wall

  1. Remember though that THERE IS NO GENERAL RULE FOR CONVERTING A LIST INTO A SCALAR.

    Permalink to quote #273
  2. *** The previous line contains the naughty word '$&'. if /(ibm|apple|awk)/; # :-)

    Permalink to quote #275
  3. Perl is designed to give you several ways to do anything, so consider picking the most readable one.

    Permalink to quote #272

Related quotes

  1. And don't tell me there isn't one bit of difference between null and space, because that's exactly how much difference there is. :-)

    Larry WallLarry Wall quote #2
  2. > (It's sorta like sed, but not. It's sorta like awk, but not. etc.) Guilty as charged. Perl is happily ugly, and happily derivative.

    Larry WallLarry Wall quote #51
  3. We toast the Lisp programmer who pens his thoughts within nests of parentheses.

    Alan PerlisAlan Perlis quote #2