binary constants (??)

Bill Poser poser at csli.Stanford.EDU
Wed Nov 29 18:48:25 AEST 1989


In article <20989 at mimsy.umd.edu> chris at mimsy.umd.edu (Chris Torek) writes:
>Those of you who are trying to design `D'
>(or `P') might consider dumping 0-octal and 0x-hex in favour of
>something sane, like <base>r<text>, 2r11001 = 8r31 = 25 = 16r19.

Isn't this the approach taken in Algol-68? I'm curious if experience
with Algol sheds any light on whether it is a good idea. It seems
attractive to me.

I've recently been reading up on Algol-68 and am constantly struck by
how many features of more recent languages are to be found there.
I'm not sure that its a good idea to have so many different things
in one language, but the designers sure thought of a lot of interesting
things.



More information about the Comp.lang.c mailing list