What Can't C Do? - (nf)

grunwald at uiuccsb.UUCP grunwald at uiuccsb.UUCP
Tue Mar 27 13:35:20 AEST 1984


#R:unc:-690000:uiuccsb:9000017:000:626
uiuccsb!grunwald    Mar 26 09:13:00 1984

On the subject of language features:

Why not take a step into the seventies and introduce abstract data types to the
language? I understand that a version of Bell internal C does this already.

Then, as in CLU and Ada, your cluster/package specification allows you to
define equality, similarity, orderings, assignment etc. This eliminates the
need for the "string" type and string operations proposed, the structure
equality question would be simpler and, if you design it properly, you could
propably even implement structured assignment as suggested.

It seems to be the most general tool to solve a plethora of problems.



More information about the Comp.lang.c mailing list