Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » Visual Basics
Re: Visual Basics [message #230006 is a reply to message #229967] Sat, 11 November 2006 12:39 Go to previous messageGo to previous message
light is currently offline  light
Messages: 988
Registered: January 2005
Karma:
Colonel
Terminator 101 wrote on Sat, 11 November 2006 19:23

light wrote on Fri, 10 November 2006 21:29

I consider Java to be a good first language for people who swim in the shallow end. Those who dive in the deep can go for C/C++.

What exactly do you mean by shallow and deep end?
Does that mean that if I want to just learn how to program I should start with Java, but if I want programming as a job, I should move to C++?

I was refering more to complexity. Java has great documentation, and when you do something wrong, it tells you. Say you have an array of 5 characters:

[A|B|C|D|E]

In Java, if you read over the end, i.e. try to read number 6, you get an ArrayIndexOutOfBounds exception, which tells you exactly what went wrong, and where.

In C++, you get a Segmentation Fault, and you have no idea what caused it unless you trace your code or use a debugger.

Which one you choose depends on your learning style. Java is great for learing Object Orientated design, because you don't have to worry about allocating and deallocation memory, or pointers. C++ has support for Objects, but to me it feels like they were bolted on as an after thought.


http://www.azupload.com/displayImage.php/setid2745.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Server
Next Topic: katt williams, pretty damn funny
Goto Forum:
  


Current Time: Mon Nov 25 07:38:46 MST 2024

Total time taken to generate the page: 0.01650 seconds