crazy programming language thoughts

Istvan Albert ialbert at mailblocks.com
Fri Aug 22 03:30:24 CEST 2003


Ryan Lowe wrote:


 >>>>v = read lines from 'file.txt';
join it with '\n'; lower it; split it at '.'

A distinction needs to be made between a programming
language that resembles pseudo-code and a language
that looks like a spoken language.

split line at '\n' is no better than line.split("\n")
after all then you could argue that you should be
able to say "'\n' is the splitting character in line" or
"break into pieces at '\n'" and so on.

For what is worth perl was always developed along the lines
you are talking about. See more here.

http://www.perl.com/pub/a/2003/06/25/perl6essentials.html

Now whether that is a good thing is very debatable and
the mere fact that I'm posting in a python group pretty
much tells who do I vote for.

Istvan.






More information about the Python-list mailing list