View Single Post
  #107   Report Post  
Posted to uk.d-i-y
John Rumm John Rumm is offline
external usenet poster
 
Posts: 25,191
Default OT - Programming Languages

On 29/01/2015 11:52, Tim Watts wrote:
On 29/01/15 11:20, Tim Streater wrote:

Too many "special things" like $_ which make reading perl a constant
WTF? experience.


So don't use them.

use English;

and use nicely named variables.

And don't use $_ at all...


Its funny how many languages tend to acquire a range of awkward looking
and non intuitive constructs that crop up all over the place. The only
justification for them often seems to be "because you can". The problem
becomes self replicating because people learn from seeing examples that
contain them and then use them since they are "normal".



--
Cheers,

John.

/================================================== ===============\
| Internode Ltd - http://www.internode.co.uk |
|-----------------------------------------------------------------|
| John Rumm - john(at)internode(dot)co(dot)uk |
\================================================= ================/