develooper Front page | perl.perl5.porters | Postings from June 2008

Re: [perl #56150] return return

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
June 21, 2008 06:01
Subject:
Re: [perl #56150] return return
Message ID:
20080621130140.GC25433@klangraum.plasmasturm.org
* Tels <nospam-abuse@bloodgate.com> [2008-06-21 14:05]:
> On Saturday 21 June 2008 13:22:59 Aristotle Pagaltzis wrote:
> > * Tels <nospam-abuse@bloodgate.com> [2008-06-20 23:05]:
> > > Also, I'd like to add that "return" at the end of a
> > > function is almost always pointless, too.
> >
> > Programs should be written for people to read and only
> > incidentally for machines to execute.
> 
> With the current state of abundand hardware power, it should be
> no problem to show the human a "human-readable" version of the
> program and let the machine execute the "machine-readable"
> version.
> 
> Which, btw, happens, anyway. :)
> 
> So the editor could colorize it, pretty-print it, add return
> statements and automatic comments.
> 
> Which, btw, happens for most people, anyway. :)

How can syntax highlighters infer unwritten programmer intent?

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About