Larry Wall Quotes on Syntax

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

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

  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.

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

  5. True, it returns ' ' for false, but ' ' is an even more interesting number than 0.

  6. I surely do hope that's a syntax error.

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

  8. There's something to be said for returning the whole syntax tree.

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

  10. I suppose you could switch grammars once you've seen 'use strict subs'. :-)

  11. If this were Ada, we'd simply doc it as 'erroneous'.

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

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

  14. The autodecrement is not magical.

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

  16. :I also discovered Larry's First Law of Language Redesign: Everyone wants the colon.

  17. Larry's 2nd Law of Language Redesign: Larry gets the colon.

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

  19. I knew I'd hate COBOL the moment I saw they'd used 'perform' instead of 'do'.

All Larry Wall quotes