On Fri, October 26, 2007 9:27 am, Gabriel Sechan wrote: > >> From: [EMAIL PROTECTED] >> The more expert the Perl programmer the more use they make >> of the context hence the shorter the code and less explicit >> the code gets. > > Gonna have to disagree here- the best perl programmers I know *NEVER* use > $_ or other context variables. It makes the code very hard to understand > and maintain. They use actual variable names and ignore context variables > completely, so you can actually understand what its doing. > > Of course I help them along- on my team, I bounce code reviews if anyone > uses $_ explicitly or implicitly rather than a variable name. > > Gabe >
Vernor Vinge (my best programming teacher) used to say that there was no language you couldn't write bad code in and no language you couldn't write good code in. But I still contend that languages are developed to scratch an itch, and in selecting the language to do a job in, you should start by looking at the nature of your itch. It's simply unrealistic to think that there is one language (C, perl, Tcl, whatever) that scratches every itch perfectly. It's OK to have favorites, too ;-) -- Lan Barnes SCM Analyst Linux Guy Tcl/Tk Enthusiast Biodiesel Brewer -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
