SS> I hate five major things about C++ so far:
SS> /* 1. Passing by reference */
SS> /* 2. Declaring data in random places */
These are two of the reasons I never use pure C anymore. I feel limited
without these abilities. I really hope these, along with function
overloading, get added to the next C standard.
References are quite powerful. I suspect that once you get used to them
and really start using classes, you'll come to appreciate them as well.
As for declarations, why shouldn't I be able to declare a variable where
I use it? I especially like for(int i = 0; i < 100; i++) type
declarations. It makes it quite clear that i is simply a placeholder.
Certainly, you could randomly declare variables in places that make no
sense. However, you can also write spaghetti code in either C or C++.
You sound like a Pascal weenie: "I want the compiler to protect me from
myself!"
SS> /* 3. Assembly comments */
Not a big deal either way. Stylistic differences. I use them and like
them, but wouldn't be lost without them.
SS> /* 4. C-style casts are outlawed as of the latest draft proposal
SS> long bar;
Jury is still out. I haven't upgraded my compiler yet, so I haven't
used C++ casts much.
SS> /* 5. Weird new commands and stuff because I hadn't bothered to
SS> ** call ANSI to see what they threw in this morning.
There haven't been THAT many changes, at least not to the basic
language. Most of them are nit-picky technical details.
SS> SS> 2) Is the icky void main(void) actually allowed in C++? Ugh...
SS> No surprise. Borland is evil.
Hey! Bite your tongue!
Regards,
Daniel ddjones@pinn.net
---
þ RM 1.31 1604 þ The best way to accelerate a Mac is at 9.8 m/s.
---------------
* Origin: Selective Source Virginia Beach, VA (757)471-6776 (1:275/102)
|