Re: The War On HLA
From: The Half A Wannabee (ShakainZulu_at_hotmail.com)
Date: 10/31/03
- Previous message: The Half A Wannabee: "Re: The War On HLA"
- In reply to: sinewave: "Re: The War On HLA"
- Next in thread: mchiper: "Re: The War On HLA"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 31 Oct 2003 12:47:08 +0100
"sinewave" <none@nowhere.com> wrote in message
news:oprxvl4sim1pb73s@10.0.0.1...
> hi Half A Wannabee:
>
> > I := I + 1 is better
>
> i = i + 1; // choice 1
> i++; // choice 2
> ++i; // choice 3
> i+=1; // choice 4
>
> > What if you want to add 2 instead ?
>
> i = i + 2; // choice 1
> i+=2; // choice 2
>
> > But when it comes to C I am in agreement with Betov.
> > Its simply a stupid language.
>
> i can use C and inline asm to write smaller or faster programs than Rene
> using RosAsm. if you like (Object) Pascal then more power to you but why
> act like some C/C++ zealots do?
Well. I forgot about i+=2, its correct? of course. And you corrections are
well put. The reason I am a litle bias towards C is that Windows was written
in it, or at least, that many of the examples in the Win32 API is written in
it. Perhaps unfair to blame that on C. And those examples are really
sometimes as bad as code really gets. As I said. A programmer well known
with C would be able to do miracles with it. The API code has very few of
thoose. I really have no burning torch against C. Im not like Betov in his
extremness, but I can see where his anger is comming from, and I have to
agree with him, just a little. But delphi code can look like *** too, so I
guess C code could look very nice in a certain programmers hands. I am of
course not only talking about 'looks", i mean readable, easy to grasp. that
the code is not in the way of the undertstanding. C (in the API) more often
than not seem to destort the menaing of the code rather than make it clear.
Betovs way of naming procs is exactly the way I like to see code written.
Even asm can be made to look like someone relieved themself on paper. I
prefer not to be a zealot. Unless I play a blizzard game. Good code in a
language can be easily understood with not much effort by a programmer from
a diffrent language. That my point.
Au revoir. The Wannabee
>
> regards,
> phil
- Previous message: The Half A Wannabee: "Re: The War On HLA"
- In reply to: sinewave: "Re: The War On HLA"
- Next in thread: mchiper: "Re: The War On HLA"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]