Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Thanks, L~R. That first trick seems useful... I'll work hard to adopt it. I've come across the second before as I have some C experience. Initially, I found it useful. After using it for a few months I realised I'd gotten into the habit of writing
... so I deliberately switched back to writing
... and I haven't made the 'one-equals' mistake since. For me it was a good mental training exercise. Oh, and I'm reading the refactoring post now. Ta. email: perl -e 'print scalar reverse map { chr( ord($_)-1 ) } split //, "ufo/hojsfufqAofc";' In reply to Re^2: Avoiding silly programming mistakes
by missingthepoint
|
|