C needs BCD (ANSI People: Please Listen)
Doug Gwyn <gwyn>
gwyn at brl-tgr.ARPA
Fri Nov 2 14:15:37 AEST 1984
> I think implementing BCD like strings would NOT be a good idea. People
> who use it will want to use it just like any other type, and I don't think
> that's unreasonable. It is certainly something that I can see it being
> worth-while to support from the standpoint of spreading the use of C.
The same argument could be made for adding geometric, alegbraic, database,
and other primitive data types to the language. Since one can invoke
functions (or even use a preprocessor) to extend the language as needed
for different application areas, these facilities are in principle already
supported by C, although not in a standard way across systems unless one
ports his own libraries (which is what I recommend). It would be nice to
have standard libraries for these things widely available, but people are
getting stingy about sharing their code if it has commercial value.
C, like UNIX, was designed to offer powerful, general access to system
facilities rather than to try to directly address every application area.
Let's keep C a "high-level assembler" and fix its problems without trying
to make it a "rich" language like PL/I or (to some extent) ADA.
More information about the Comp.lang.c
mailing list