|
La brian's Guide to Solving Any Perl Problem, documento del 2002, acquista nuova visibilità grazie alle recenti traduzioni in Castigliano e in Tedesco.
Si tratta di domande che dovrebbero essere utili al principiante (e non solo) che indaga su un problema Perl: quelle tipiche situazioni in cui il codice ormai esce fuori dagli occhi, il raziocinio latita, e una voce esterna può essere utile per recuperare una prospettiva fresca sul problema.
In questo senso, il suggerimento che mi piace di più, e che si è rilevato più utile nella mia esperienza, è il seguente:
Did you talk to the bear?
Explain you problem aloud. Actually say the words.
For a couple of years I had the pleasure of working with a really good programmer who could solve almost anything. When I got really stuck I would walk over to his desk and start to explain my problem. Usually I did not made it past the third sentence without saying "Never mind−−−I got it". He almost never missed either.
Since you will probably need to do this so much, I recommend some sort of plush toy to act as your Perl therapist so you do not annoy your colleagues. I have a small bear that sits on my desk and I explain problems to him. My girlfriend does not even pay attention when I talk to myself anymore.
Inviato da larsen il 08.07.08 16:03
Ti è piaciuto questo articolo? Iscriviti al feed!
|