[Purdue-pm] False Hubris code example

Michael Gribskov gribskov at purdue.edu
Tue Aug 11 06:53:03 PDT 2009


Why do people consider code like this to be "good"??

my $text = do { local( @ARGV, $/ ) = $file ; <> };

while it is compact, it is to my mind obscure and uneccessarily 
difficult to understand, succeeding by side effects of the overt code.  
A whole program written like this is a nightmare. IMO of course

-- 
Michael Gribskov
Professor of Biological Sciences
Purdue University
Lilly Hall of Life Sciences
915 W. State Street
West Lafayette  IN  47907-2054
gribskov at purdue.edu
vox: 765.494.6933     fax: 765.496-1189
<A HREF=http://sapporo.genomics.purdue.edu/webcal/wcal.pl?c=get&ls=0&w=Gribskov>Calendar</A>





More information about the Purdue-pm mailing list