Unicode block for programming related symbols and codepoints?

Hans Aberg haberg-1 at telia.com
Mon Feb 9 13:48:21 CST 2015


> On 9 Feb 2015, at 19:17, Ken Whistler <kenwhistler at att.net> wrote:
...
> The use in C of "=" and "==" was badly designed
> from the start, and is the source of bezillions of inadvertent programming
> errors in practice.

It is the ample oversupply of implicit conversions in combination with the lack of a proper boolean type that is causing those programming errors.

> But if a left arrow, for example, might be a better choice for an assignment
> operator in a programming language, and a two-character ASCII operator
> like ":=" or "<-" doesn't seem appropriate or causes other confusion, there
> still isn't a character *encoding* issue here. Just use "←", which already exists (U+2190),
> and is a fine left arrow!

There are also
  ≔ COLON EQUALS U+2254
and others.

No problems using such characters in Flex:

The problem is the lack of input methods. 





More information about the Unicode mailing list