java or c++ for a relative beginner

welly_59

Power Member
Joined
Aug 30, 2011
Messages
697
Reaction score
265
im just wondering what language you would choose for a relative beginner to learn?

i have some experience and am not a kid(30!) and am willing to put the time in.

Ive been looking at getting a bot commissioned lately and a lot of people who saying they could do it in jave for me, thats why i am considering java
 
Are there any recommended books or online courses in java?
 
None.

C# for bot coding, if you can code java, switching to C# will be a joke anyway.

chilkat libs for easymode socket based stuff and watin for browser based stuff.
 
ive got a pdf of heads first java on your reccomendations! currently working through chapter 1 and it seems pretty good resource so far. thanks
 
When you finish the book that was recommended to you earlier, you might want to take a look at "HTTP Programming recipes for Java bots" and go with that afterwards.
 
FIrst choose OS Linux or Widnows, Then Learn About Eclipse IDE, learn to install it and configure it with java .

Then start Learning Java. Books Are Great But I would recommend something with examples, Learn By Example first so you can start doing Things quickly. Then before you fall into the old way of doing things realize that today, everything is worked around frameworks (Libraries with premade solutions) Learn Some of the Major Frameworks Nowadays, Maybe String, Jboss or any other.
 
o.O Java to START?

You guys are sado-masochists

If you're just starting out, play with javaSCRIPT, or a macro; something that doesn't need to get compiled.

Then play with php and learn about call and get commands and understand server-client relationships and extrapolate that idea to the idea of a compiler.

Once things are clicking, transition to Java if you want to make applications that are easier to push cross OS platforms. If you want to make a nice windows app, C# is the way to go ("easier" than C++)
 
You are going to get a variety of responses, there really isn't a correct answer. C++ will generally give you much faster code at the end of the day, but if you are willing to trade control and speed for ease of access C# would probably be better than Java.

Generally speaking when selecting a programming language you are picking where you want to be on the control (speed) vs ease of use spectrum.
 
The great advantage of Java it's that it's natively cross-platforms.
Of course there are alternatives for cross-platforms development with other languages.

I recommend to learn Delphi.
It's a really powerful language, with a nice evolution, with a huge community around the web, with a lot of third-part components, ...
Delphi EXE are built with his internal Framework, so you'll not need to have thousands of DLLs files next to the EXE (as in the case of C#/.NET).

Here are some examples of applications built with Delphi : ScrapeBox, XRumer, Hrefer, Skype, Delphi himself, C++Builder himself.

But if your choice is between Java or C++, so I would say choose C++.
By learning C++ you'll have good knowledge to come closer of C (to build iOS applications for example).

Beny
 
The learning curve with c++ will be awful, but that is real programming, you will need to learn much more. I recommended you Java, for two reasons, a lot of really complicated like memory allocations and other usefull low level stuff won't be bothering you. Work related to java will pay better in general at least in my country.

But I agree, to really start from ground zero go for script languages, PHP, Python, or Perl.

Also I can say Delphi is a good language, similar to pascal, but this is totally Windows Oriented, at least when I use to program with it.
 
Make sure to read either or both of the following books (They are also FREE and available online, just google them)

Thinking in Java
Thinking in C++

While there is alot of text and not a huge amount of code samples, it gets you doing things correctly right from the start, and has some excellent knowledge of OOP.

Highly Recommended
 
Also I can say Delphi is a good language, similar to pascal, but this is totally Windows Oriented, at least when I use to program with it.

With Lazarus or the new Firemonkey, you can compile your applications for Mac OS X.

Beny
 
Do not stuck yourself with the ideas of getting a books or tutorials to learn. Start practicing on need-to-try basis i.e. first think what you want to learn and then search on internet and books, it will not only give you practice but it will give experience of real time programing. Hope this will help you.
 
Back
Top