Re: Version after Version
- From: "ProfitMaxTrading.com" <nospam@xxxxxxxxxx>
- Date: Sun, 30 Oct 2005 20:39:01 -0600
Ouch.
Didn't think I was going to be shot down as an 'idiot' when I asked. Maybe
I'm an idiot. Don't feel like one. :-)
I'm sure there can be lots of interesting debate on the merits of one
language over the other. Since I really don't know one way or the other I
can simply absorb the wisdom from you and others here graciously sharing.
Knowing that you like Visual Basic, I was surprised about your comments on
'C'. ASM I can see as producing more efficient code. That's a no brainer
since it is so close to the machine level. But Visual Basic over 'c' in
efficiency? That throws me for a loop.
My understanding is that the 'C' compiler is mid-level and closer to the
machine level than VB, which is high-level. All the hand-holding VB provides
(easy to read coding, on the fly code debug, etc.) comes at the cost of
efficiency.
I'd be very interested in clarification on this.
Thanks.
"J French" <erewhon@xxxxxxxxxx> wrote in message
news:436546e7.55696351@xxxxxxxxxxxxxxxxxxxxxxx
> On Sun, 30 Oct 2005 15:36:57 -0600, "ProfitMaxTrading.com"
> <nospam@xxxxxxxxxx> wrote:
>
>>
>>
>>"J French" <erewhon@xxxxxxxxxx> wrote in message
>>news:43650fa4.41547420@xxxxxxxxxxxxxxxxxxxxxxx
>>>> Dec(startY);
>>>
>>> Gawd how I hate Dec and Inc in Delphi
>>>
>>
>>
>>JF,
>>
>>Why do you hate Dec and Inc?
>
> In ASM they mean one thing
> - in Delphi they mean one of many things
>
>>You know in VB it's so drawn out:
>
>>StartY = StartY - 1
>
> Which is optimized by the compiler
> - I like typing more, when I can see what will hit the .OBJ files
>
>>Almost tempted to write a small function to do the same as Dec in VB.
>
> Don't think of going there
> - that is naive - longer is often shorter
> - seldom is shorter longer when compiled
>
>>Coming from 'C++', I miss the shorter forms of inc and dec.
>
> I detest C--- also pure 'C'
>
> 'C' is for wimps who do not understand ASM
>
> Short source code does not mean quicker, faster, meaner .OBJ code (or
> even .DCU code)
>
> The first programming fallacy is that idiots believe that terse source
> compiles into better object code than explicit source.
>
> Avoid declaring an intermediate variable, and the compiler will
> declare one for you - thereby shafting ones attempt at efficiency.
>
> The reason I hate 'C' is because it propogates idiots who truly
> believe that terse ASCII leads to fast ASM
>
>
>
.
- Follow-Ups:
- Re: Version after Version
- From: Bruce Roberts
- Re: Version after Version
- References:
- Version after Version
- From: ProfitMaxTrading.com
- Re: Version after Version
- From: Frank de Groot
- Re: Version after Version
- From: J French
- Re: Version after Version
- From: Frank de Groot
- Re: Version after Version
- From: Marc Rohloff
- Re: Version after Version
- From: Frank de Groot
- Re: Version after Version
- From: Marc Rohloff
- Re: Version after Version
- From: Frank de Groot
- Re: Version after Version
- From: Maarten Wiltink
- Re: Version after Version
- From: Frank de Groot
- Re: Version after Version
- From: J French
- Re: Version after Version
- From: Frank de Groot
- Re: Version after Version
- From: J French
- Re: Version after Version
- From: Frank de Groot
- Re: Version after Version
- From: J French
- Re: Version after Version
- From: Frank de Groot
- Re: Version after Version
- From: J French
- Re: Version after Version
- From: Frank de Groot
- Re: Version after Version
- From: ProfitMaxTrading.com
- Re: Version after Version
- From: J French
- Version after Version
- Prev by Date: Re: Transparent window
- Next by Date: Re: Version after Version
- Previous by thread: Re: Version after Version
- Next by thread: Re: Version after Version
- Index(es):
Relevant Pages
|