Skip to content
quotesby

19 Larry Wall Quotes on Syntax

Larry Wall quotes on syntax

  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. :-)

    Permalink to quote #2
  2. If I allowed 'next $label' then I'd also have to allow 'goto $label', and I don't think you really want that... :-)

    Permalink to quote #32
  3. > (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.

    Permalink to quote #51
  4. So far we've managed to avoid turning Perl into APL. :-)

    Permalink to quote #72
  5. True, it returns ' ' for false, but ' ' is an even more interesting number than 0.

    Permalink to quote #90
  6. I surely do hope that's a syntax error.

    Permalink to quote #130
  7. That gets us out of deciding how to spell Reg[eE]xp?|RE . . . Of course, then we have to decide what ref $re returns... :-)

    Permalink to quote #145
  8. There's something to be said for returning the whole syntax tree.

    Permalink to quote #152
  9. And other operators aren't so special syntactically, but weird in other ways, like 'scalar', and 'goto'.

    Permalink to quote #170
  10. I suppose you could switch grammars once you've seen 'use strict subs'. :-)

    Permalink to quote #183
  11. If this were Ada, we'd simply doc it as 'erroneous'.

    Permalink to quote #215
  12. So I'm thinking about ??, or !!, or //, or \, or whatever. But I think I like ?? the best so far. Or the least worst.

    Permalink to quote #216
  13. /* This bit of chicanery makes a unary function followed by a parenthesis into a function with one argument, highest precedence. */

    Permalink to quote #264
  14. The autodecrement is not magical.

    Permalink to quote #274
  15. When in doubt, parenthesize. At the very least it will let some poor schmuck bounce on the % key in vi.

    Permalink to quote #276
  16. :I also discovered Larry's First Law of Language Redesign: Everyone wants the colon.

    Permalink to quote #291
  17. Larry's 2nd Law of Language Redesign: Larry gets the colon.

    Permalink to quote #292
  18. Interestingly enough, since subroutine declarations can come anywhere, you wouldn't have to put BEGIN {} at the beginning, nor END {} at the end. Interesting, no? I wonder if Henry would like it. :-)

    Permalink to quote #299
  19. I knew I'd hate COBOL the moment I saw they'd used 'perform' instead of 'do'.

    Permalink to quote #309