Re: Type safety, C++ and code generation
- From: Georg Bauhaus <bauhaus@xxxxxxxxxxxxx>
- Date: Fri, 28 Apr 2006 19:04:17 +0200
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
.
- References:
- Type safety, C++ and code generation
- From: Maciej Sobczak
- Re: Type safety, C++ and code generation
- From: REH
- Re: Type safety, C++ and code generation
- From: Maciej Sobczak
- Re: Type safety, C++ and code generation
- From: REH
- Re: Type safety, C++ and code generation
- From: Maciej Sobczak
- Re: Type safety, C++ and code generation
- From: Georg Bauhaus
- Re: Type safety, C++ and code generation
- From: Maciej Sobczak
- Re: Type safety, C++ and code generation
- From: Georg Bauhaus
- Re: Type safety, C++ and code generation
- From: brian . b . mcguinness
- Type safety, C++ and code generation
- Prev by Date: Re: gps vs gnat pro
- Next by Date: Re: gps vs gnat pro
- Previous by thread: Re: Type safety, C++ and code generation
- Next by thread: Re: Type safety, C++ and code generation
- Index(es):