NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Scars wiki (Score:1)
I wonder if it would be worthwhile to have Perl programmers contribute their scar stories to a wiki or other sort of interactive web page ... a kind of "traps for the unwary" list for learners (which is everybody <g>).
depends on context (Score:2)
I remember reading somebody saying that you should always use an ORDER BY clause in SQL, which is useless in the cases where order doesn't matter.
Sometimes order does matter, sometimes it doesn't, it's about using the right tool for the job.
Re:depends on context (Score:1)
Re:depends on context (Score:2)
I know that I've said results returned should always use "ORDER BY" and I was (again) being stupid. I was pissed off at a programmer failing to sort his results properly and when I get annoyed, I say stupid things.
In that case, the programmer eventually sorted the data, in Perl. That's usually stupid when the database can handle it. In our case it resulted in a bug whereby the data always had to be sorted but sometimes we were getting it before it had been sorted. The problem (and this is merlyn's poi
In a similar vein (Score:2)
I used to tell my clients to be suspicious of any consultant who came in like "a knight in shining armor".
You want the knight whose armor is old, rusty, and has plenty of dents and dings. Shows they've fought real battles.