Programming

Lamp

Gold Star Holder!!
Joined
Jan 16, 2005
Messages
23,348
You also need to do a course on "Crappy Servers and Delayed Patch Releases", and then an advanced course on "Class Nerfing".
 

Chronictank

FH is my second home
Joined
Jan 21, 2004
Messages
10,133
Jeremiah said:
I am shocked :eek6: In what way are they more powerful?
you can do more with c++ because it gives you blind access to everything, from bit manipulation to the usual stuff
Java protects the programmer by refusing to let him make changes that can potentially causing problems , one such example being forcing you to declare types (this can be forced in c++ also but it is optional)
You can also redefine operators in c++, whereas in Java you are forced to use what you are given they are just 2 examples off the top of my head.


Dont get me wrong, there is nothing wrong with Java,
it was designed to be a simpler version of C++ and does that job very well (the LALR parser is a god send when it comes to syntax errors)

Maybe things have changed, i havent even looked at Java in a long long time
 

Jeremiah

Fledgling Freddie
Joined
Aug 10, 2004
Messages
1,131
Chronictank said:
you can do more with c++ because it gives you blind access to everything, from bit manipulation to the usual stuff
Java protects the programmer by refusing to let him make changes that can potentially causing problems , one such example being forcing you to declare types (this can be forced in c++ also but it is optional)
You can also redefine operators in c++, whereas in Java you are forced to use what you are given they are just 2 examples off the top of my head.


Dont get me wrong, there is nothing wrong with Java,
it was designed to be a simpler version of C++ and does that job very well (the LALR parser is a god send when it comes to syntax errors)

Maybe things have changed, i havent even looked at Java in a long long time


No, you are right with those points. These are examples where C++ can be seen to be much more powerful, but I've always felt that being protected from being able to do explicit memory access and redefinition of operators wasnt actually a bad thing since it protects against the potential for rather nasty errors :) But I know the die-hard C++ programmers will never convert!
 

crispy

Can't get enough of FH
Joined
Mar 9, 2004
Messages
2,706
I just started java intro course at my university. We're reading Objects first with Java. So far its a really good book for starters, and an easy language to learn. That is where i would start if i were you.

Think most universities worldwide starts with java.
 

Sockstuff

Can't get enough of FH
Joined
Dec 22, 2003
Messages
531
Lamp said:
Saying Java > everything is like saying using a screwdriver is the best tool.

I have a screwdriver that has a yellow and black handle. It is the best tool ever!
 

Serbitar

Fledgling Freddie
Joined
Jan 7, 2004
Messages
734
Lamp said:
Saying Java > everything is like saying using a screwdriver is the best tool.

200px-Doctorsonic.jpg


a screwdriver is the best tool, albeit a screwdriver of the sonic variety
 

Users who are viewing this thread

Top Bottom