Monday, September 30, 2002, 12:28:48 PM, you wrote:

DDVH> BTW Are you going to use C++ Builder ? Visual C++ ? And why switch to
DDVH> C++ ? Delphi is a good language that can do anything C++ can (some
DDVH> stuff even better)!

At the risk of getting into the religious wars here, let me say that I
agree with you about Delphi (wonderful product) with the following
caveat: I think Delphi encourages sloppy programming. To wit:

1. variables can be used without previously declaring them. It's
therefore much harder to catch typing errors since the compiler is
quite happy accepting them and it's only at runtime that the errors
are apparent. This creates enormous debugging headaches. Take it from
one who has had to work with other people's code. I much prefer the
strong typing of C++, letting the compiler do the work of catching my
typing errors *before* the code runs.

2. variables myvariable1 and MyVariable1 and even mYvarIAbLe1 are all
the same. Even Visual Basic won't let you get away with this. I use
the compiler feature of VB to find typing errors for me in the
following manner: I declare my variables in MixedCase. Then when I use
the variables in my code I write them in lowercase. If I typed them in
correctly the compiler will correct the case for me. Otherwise I know
to look for a typing error.

-Mark Wieder

 Using The Bat! v1.60h on Windows 2000 5.0 Build 2195 Service Pack 2
-- 


________________________________________________________
 Current version is 1.61 | "Using TBTECH" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to