Re[4]: [Dev-C++] [q] Does C++ promote bad programming?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Zodiaq <zo...@ac...> - 2003-04-12 17:45:46
|
Hello iad929 and all Dev-C++ users, Saturday, April 5, 2003, 11:18:48 PM, iad929 wrote as follows: i> I little disagree with you here. C++ can be used for an introductory course i> with avoiding pointers. Java is simple but it is web directed. Avoiding pointers with C++ is hard thing, without dynamic storage and dynamic object generation (long lasting) programs are not so interesting... and what is more important C++ is hard becouse it mades not boundary checking - it's because it aims for speed... and using std::vector at an introductory course is neither good thing... at very beginning you might be foced to answer what is std, namespace, vector, template etc... this is all very confusing at the begining, and without that people have many problems with programs in C++/C crushing because some memory was written where it shouldn't - Java at first such attempt stops! Which, for beginners to OOP is very important! This forces good habbits as cerufully checking where last iterations of loops will be writing to and many others... I'm talking here from my point of view - my road to OOP was like this: Basic (not even on PC class) C C++ and Java (at studies teachers somehow decided to combine these two) and now I stick to C++ (with every aspect it offers - OOP, exceptions, multithreading [this is more OS dependent, I know]) but I must say that (for me) learning Java was a very good thing - at the time I thought I shouldn't be doing that! I thought on high level programming language is more than enough! But from this point of view, from current time, I must say it was very usefull experience... All right, stop chatting, last thing - Java is not JUST simple, it also makes things simple... it is not only web directed, you can make web applets in it very easly, but you can make programs that have NOTHING to do with web... I don't use it because it is interpreted so not nearly as fast as C++... Java is good for small programs that have to be run on many platforms, but for big projects that need to be very fast... That's what I thing - IMO Java is very good start... i> Mohammed -- regards, Zodiaq |