Larry Wall Quotes on Coding

12 quotes

  1. It won't be covered in the book. The source code has to be useful for something, after all... :-)

  2. ... an initial underscore already conveys strong feelings of magicalness to a C programmer.

  3. Perl has a long tradition of working around compilers.

  4. I wouldn't ever write the full sentence myself, but then, I never use goto either.

  5. switch (ref $@) { OverflowError => warn 'Dam needs to be drained'; DomainError => warn 'King needs to be trained'; NuclearWarError => die; }

  6. Y'know, there are other possibilities if we assume that filenames are UTF-8...yikes...wait, put down that meat cleaver! Aieeee!!!

  7. print rand rand rand 1, ' '; # interesting distribution

  8. I've always maintained a cordial dislike for indent, because it's usually right.

  9. It's, uh, pseudo code. Yeah, that's the ticket... [...] And 'unicode' is pseudo code for $encoding. :-)

  10. That being said, I think we should immediately deprecate any string concatenation that combines '19' with '99'. :-)

  11. stab_val(stab)->str_nok = 1; /* what a wonderful hack! */

  12. That means I'll have to use $ans to suppress newlines now. Life is ridiculous.

All Larry Wall quotes