Homebrew Developers?


[rant] Now if c++ is crap(more or less) compared to c, what is then java compared to anything?[/rant]
Well, my point is that (even if i greatly dislikes java) everything has it's use, otherwise it would not have been invented at all (except some esoteric languages, which are just pointless :) ).
I haven't had mutch experience C, but I have used it from time to time.
So I can't really say which is better or worse. Is there a large speed difference in the two of them?
And I must say that I like the C++ style for-loops better then C style for-loops.
Aren't they the same?
 
Last edited by a moderator:
[rant] Now if c++ is crap(more or less) compared to c, what is then java compared to anything?[/rant]
Well, my point is that (even if i greatly dislikes java) everything has it's use, otherwise it would not have been invented at all (except some esoteric languages, which are just pointless :) ).
I haven't had mutch experience C, but I have used it from time to time.
So I can't really say which is better or worse. Is there a large speed difference in the two of them?
And I must say that I like the C++ style for-loops better then C style for-loops.
Aren't they the same?

Probably means that you can declare the loop variable in the for

Code:
for (int i=0; i<100; i++)

I use to use C but I use C++ all the time now (except the few things I've ported are all in C), even if I'm not using classes because of things like:
  • You can declare variables where you use them
  • References - don't have to pass pointers into functions for multiple return values
  • The string class - dynamically allocated space and many operations
  • STL collection classes - after more than 20 years of programming you can get bored of writing your own linked lists
  • ...
Even if you write pure C, the C++ compiler will still compile it and do better type checking.

Personally I like to use classes, streams, polymorphism, overloaded functions etc but you don't have to
 
Last edited by a moderator:
Back
Top