Re: Type safety, C++ and code generation



On Fri, 2006-04-28 at 05:37 -0700, brian.b.mcguinness@xxxxxxxx wrote:
Georg Bauhaus wrote:
How many times does "/" occur in your average computer
program?

That depends on what field you're working in.

True. Yet, I'd have to speculate that "general purpose" design
is then influenced strongly by a particular field :)


One solution to the problem would be to provide a new keyword for
defining types with no default operations. Only the operations you
explicitly defined would be available.

I wonder whether it wouldn't be more flexible to use the
regular language means for defining types with operations,
and no predefined operations. Then provide some core packages
for "numbers with an arithmetical interface".


-- Georg


.