Hello bearophile,

Russel Winder:

I continue to be intrigued by people who believe that code, unlike
text, is more readable in a monospace font.  Personally I think
monospace fonts make code unreadable,<

I guess it's a matter of personal preferences. But non-proportional
fonts have two advantages:
- it's easy to count spaces, vertical alignments and so on;

Bingo. While it might be possible to make a single line of code in proportional font as readable as in mon-space, as soon as you have more than one line you can't make things line up, and I want that way to often to give it up.

def sumOfSquares (sequence):
return sum(item * item for item in sequence)
I have suggested few times a list/lazy comp syntax for D too, and I
have tried to explain why it's a good thing (it helps "chunking" in
the mind of the programmer).

I believe that you can do it via map/reduce.

--
... <IXOYE><



Reply via email to