Time we switched to unicode? (was Explanation of this Python language feature?)

Rustom Mody rustompmody at gmail.com
Tue Mar 25 13:53:45 CET 2014


On Tuesday, March 25, 2014 4:08:38 PM UTC+5:30, Antoon Pardon wrote:
> So? We do use + -, so why shouldn't we use × for multiplication. Would
> such a use already indicate I should use a mathematical front-end?

> When a programming language is borrowing concepts from mathematics,
> I see no reason not to borrow the symbols used too.

Well...
Matters of taste are personal, touchy-feely things and not easily 
explainable.

Some of mine:
* for multiply does not bother me; ** for power for some reason does.
Even though the only standard math notation is non-linear and is off-limits

'and' bothers me slightly (maybe because I was brought up on Pascal?)
'&&' less (and then C)
∧ is of course best (I am a Dijkstra fan)
[But then Dijkstra would probably roll over and over in his grave at
short-circuit 'and'. Non-commutative?!?! Blasphemy!]

÷ for some reason seems inappropriate
(some vague recollection that its an only English; Europeans dont use it??)

And if we had hyphen '‐' distinguished from minus '-' then we could have lispish
names like call‐with‐current‐continuation properly spelt.
And then generations of programmers will thank us for increasing their
debugging overtime!! 



More information about the Python-list mailing list