Re: Type safety, C++ and code generation
- From: Georg Bauhaus <bauhaus@xxxxxxxxxxxxx>
- Date: Fri, 28 Apr 2006 14:16:08 +0200
On Fri, 2006-04-28 at 07:57 +0200, Maciej Sobczak wrote:
function "*"(a, b: SPEED) return SPEED is abstract;
I like it, although there is some potential problem with this approach.
It uses the "negative logic"
Yes, there is negative logic, which invites mistakes.
And probably this isn't going to be changed, because language
designers somehow seem to think that they must provider what
they think are the usual arithmetic operations. Strangely,
they don't count actual uses, or invent mathematical structures
that reflect computing reality in a field.
How many times does "/" occur in your average computer
program?
Irrational traditionalism in computer science, school kid's
math habits, or faulty ritual?
.
- Follow-Ups:
- Re: Type safety, C++ and code generation
- From: Florian Weimer
- Re: Type safety, C++ and code generation
- From: brian . b . mcguinness
- Re: Type safety, C++ and code generation
- 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
- Type safety, C++ and code generation
- Prev by Date: Re: where exactly c++,c fail and Ada gets thru'
- Next by Date: Re: where exactly c++,c fail and Ada gets thru'
- Previous by thread: Re: Type safety, C++ and code generation
- Next by thread: Re: Type safety, C++ and code generation
- Index(es):
Relevant Pages
|