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

Re: [perl #56150] return return

Thread Previous | Thread Next
From:
Tels
Date:
June 21, 2008 06:51
Subject:
Re: [perl #56150] return return
Message ID:
200806211546.16144@bloodgate.com
On Saturday 21 June 2008 15:01:40 Aristotle Pagaltzis wrote:
> * 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?

I dunno. But they make the code easier to read for humans.

All the best,

Tels

-- 
 Signed on Sat Jun 21 15:45:27 2008 with key 0x93B84C15.
 Get one of my photo posters: http://bloodgate.com/posters
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Sacrificing minions: Is there any problem it CAN'T solve?"

  -- Lord Xykon

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