The typography of C remained the same, as all other computer languages,
obsessed with the character sets from 32 to 127 ASCII codes. Then, we
write != instead of the inequality sign, = instead of the assignment
arrow, "&&" instead of /\, "||" instead of \/.
That latter I agree with, those V's and up-side-down V's always confused
me...
Programs would be clearer if we would use today's hardware to show
the usual signs, instead of constructs adapted to the teletype
typewriter of the seventies.
Unicode now offers all possible signs for displaying in our programs,
and it would be a progress if C would standardize some codes to be
used isnstead of the usual != and &&, etc.
We could have in some isoXXX.h
#define ≠!=
#define â‹€ and
#define â‹ or
#define ≤ <=
#define ≥ >=
Using ↠for assignment would avoid the common beginner's error of using =
instead of == and programs would look less horrible.
This sounds great but I don't think it's the way to go at present. And where
would you stop with typography? Would you also use different fonts, styles
and colours to distinguish keywords, user identifiers, and library
functions, for example?
Or have comments in italics so that you don't need that ugly /* ... */
bracketing?
A proper square root symbol? Superscripts for raising to the power of?
Subscripts for array indexing? The proper signs for multiplication and
division (and even arranging a/b vertically)? Etc.
Besides my keyboard doesn't have any of those symbols.
All this would be done first in output only to avoid requiring a new C
keyboard even though that can be done later. You would still type !=
but you would obtain ≠in output in the same way that you type first the
accent, then the later under the accent and you obtain one character.
I think this is the only place for this sort of enhancement: restricted to
the displayed output of an editor or DTP program (and you have the problem
of modern word processors where you'd much rather work on the underlying
'markup' info, in an easy-to-change textual form, than having to directly
edit the final layout. Who wants to use Word 2011 to edit C?
(Having said all that, I admit I worked on a lexical analyzer recently that
does recognise some of those symbols! At least those with codes in the range
128 to 255 of either ANSI or Unicode (I forget which). Such as superscript 2
for the 'square' operator (a²). These look cool but I suspect they'll never
be used and later will be dropped...)