As the title states, I would like to learn the language. Only problem is, every guide I've come across has been pretty short and not very good. Does anyone know any good tutorials or guides that are worth looking at?

Thanks in advance!

11 years ago*

Comment has been collapsed.

Pretty please with a cherry on top?

Anyways, get books, or download books about it.

11 years ago
Permalink

Comment has been collapsed.

Incoming list of ressources!

That is all the english free stuff i already bookmarked. Rest of my bookmarks list is made of french books.

BTW, here is another website that list websites that list more free ebooks.

11 years ago
Permalink

Comment has been collapsed.

Ok let me teach you here. BAM, now you know JAVA!

11 years ago
Permalink

Comment has been collapsed.

lol

11 years ago
Permalink

Comment has been collapsed.

void main()
{
cout << "C++ for the win! Its retrooo";
}

11 years ago
Permalink

Comment has been collapsed.

Shouldn't that be int instead of void? At least if you're talking about the real main method :P

11 years ago
Permalink

Comment has been collapsed.

it can be void

11 years ago
Permalink

Comment has been collapsed.

Yes, but that's no good practice and i expect better from someone who seems to be a C++ fanboy :P. void is not standard

11 years ago
Permalink

Comment has been collapsed.

I suck at programming.
Sides, why would I want the operation system snoop around returned values from my main? Microsoft is nosey enough as it is!

11 years ago
Permalink

Comment has been collapsed.

If I'm correct , int void() is c objective , and void main is c

11 years ago
Permalink

Comment has been collapsed.

Don't know about Objective C, but for C and C++ it has to be int main()

11 years ago
Permalink

Comment has been collapsed.

Not really, i have c programming at college and we usually used void main since we didn't need to ask for information from main to another procedure. It depends what you want the program to do i guess. It might be better to use int so you can tell if there was an error or not, and what kind of an error was there

11 years ago
Permalink

Comment has been collapsed.

C++ requires an int result, if you don't do it the compiler does it for you.

The value returned from the main function becomes the exit status of the process, though the C standard only ascribes specific meaning to two values: EXIT_SUCCESS (traditionally 0) and EXIT_FAILURE. The meaning of other possible return values is implementation-defined. In case a return value is not defined by the programmer, an implicit return 0; at the end of the main() function is inserted by the compiler; this behavior is required by the C++ standard.

11 years ago
Permalink

Comment has been collapsed.

I don' know c++, just c so i can only talk for it. For c it doesn't have to be int

11 years ago
Permalink

Comment has been collapsed.

cin,cout comes in c++

in JAVA its system.out.println();

11 years ago
Permalink

Comment has been collapsed.

Are you sure? Do you know programming basics? If not, I do not recommend you to start with Java.

11 years ago
Permalink

Comment has been collapsed.

Yeah, I did visual basic in my 1st year at college and started a bit of Java. I now have a long summer and would like to learn it

11 years ago
Permalink

Comment has been collapsed.

VB is easy as hell.

Well, if you are into some youtube videos, I could recommend you thenewboston. You may want to take a look deeper in his youtube channel as he teaches a lot of programming languages. And by a lot, I really mean a lot.

*If you need extra help, feel free to add me on steam for further help. I'm not into software development right now, but I still know some useful stuff.

11 years ago
Permalink

Comment has been collapsed.

Well I'm always up for a challenge, thanks for the recommendation anyway. Video tutorials will be helpful.

11 years ago
Permalink

Comment has been collapsed.

11 years ago
Permalink

Comment has been collapsed.

11 years ago
Permalink

Comment has been collapsed.

Thank you for da link, I will never beg again.

11 years ago
Permalink

Comment has been collapsed.

votewbartonforbestsupport

11 years ago
Permalink

Comment has been collapsed.

^ #votewbartonforbestsupport

11 years ago
Permalink

Comment has been collapsed.

This could be useful because I have to learn this next year.. Is this hard?

11 years ago
Permalink

Comment has been collapsed.

Go Python, Java is a painful hell...

11 years ago
Permalink

Comment has been collapsed.

11 years ago
Permalink

Comment has been collapsed.

This. But do not go with Python. I would recommend C#/C++.

11 years ago
Permalink

Comment has been collapsed.

For starting out as your first one, I would not suggest C++

11 years ago
Permalink

Comment has been collapsed.

If you check out Udacity, they offer free courses. Their basic computer science class is Python, and I think they teach Java at the advanced levels.

11 years ago
Permalink

Comment has been collapsed.

Sure, because using whitespace identation is not HELL

11 years ago
Permalink

Comment has been collapsed.

It's not. Your code editor just suck at helping you.

On a more serious note, using whitespace for indentation forces the programmer to indent their code properly. This way, when a new programmer comes in they don't see bullshit like:

if (some_condition):
print some
unindented()
print code

11 years ago
Permalink

Comment has been collapsed.

program learnjava;
var
user:string;
know:integer;

begin
if user=doubledragon666 then
know:=100;
writeln('Now you know Java!');
end.

11 years ago
Permalink

Comment has been collapsed.

public void main learnJavaCoding(String[] args)
{
System.out.println("This is also a java program.");
}

11 years ago
Permalink

Comment has been collapsed.

I'm afraid this is the only tutorial I can think of. It's pretty basic stuff. Learning a programming language from scratch without a big book about it or someone teaching you will be... hard, I'd guess.

11 years ago
Permalink

Comment has been collapsed.

"Java is simple yet powerful".

Powerful? Yes.

Simple? umad?

11 years ago
Permalink

Comment has been collapsed.

Very simple tbh. You can't do anything wrong, at least. No real memory leaks, no pointers that lead to random data..

11 years ago
Permalink

Comment has been collapsed.

Well, I wouldn't call myself a professional (since I'm not), but unless you're trying to do graphics with it which are a pain in the ass, it's pretty simple. That's just my observation of it so far...
...I'm into C++.

11 years ago
Permalink

Comment has been collapsed.

Do you mean OpenGL stuff with Java? I would agree to that. Native stuff can be a real bitch with java :/

11 years ago
Permalink

Comment has been collapsed.

11 years ago
Permalink

Comment has been collapsed.

First: how to "draw" a program /
Second: Learn maths and logics. /
Third: Practice "drawing" /
Fourth: Learn the language you want to code. /

You can't "learn java" or "learn C" or "learn C++", you have to learn how to make algorithms, you don't know what that is, then you can't start with java.

11 years ago
Permalink

Comment has been collapsed.

Java is not that difficult to learn,watch some tutorials on youtube,and start with the basics.Get Eclipse and start doing some simple proggraming,like ecuations.Learn how to initiate a variable,learn the types of variables,learn about matrices,learn how to read from keyboard,learn how to write into a file,learn how to read from a file,stuff like that.First start doing simple stuff like i said earlier,and after a while you will get used to it,it's probably the simplest proggraming language out there,especialy when Eclipse is helping so much.

11 years ago
Permalink

Comment has been collapsed.

I will definitely look more into this Eclipse business, sounds good. Thanks

11 years ago
Permalink

Comment has been collapsed.

Sadly, Eclipse isn't getting better :/. In fact it's so bad now that even Google is planning to use IntelliJ IDEA instead of Eclipse for their Android Framework

Aside from that, i think Eclipse can be a good starting point if you don't care for the basics of Java. If you do, a simple texteditor is probably the better choice imho

11 years ago
Permalink

Comment has been collapsed.

Yeah,i've read about that,but honestly Eclipse is the most used editor out there,and for a begginer it's more than enough.

11 years ago
Permalink

Comment has been collapsed.

For pure Java, Netbeans is better.

11 years ago
Permalink

Comment has been collapsed.

This is a course from Stanford University called "Introduction to Computer Science - Programming Methodology".

The description states "Topics focus on the introduction to the engineering of computer applications emphasizing modern software engineering principles: object-oriented design, decomposition, encapsulation, abstraction, and testing. Programming Methodology teaches the widely-used Java programming language along with good software engineering principles. Emphasis is on good programming style and the built-in facilities of the Java language."

Personally I found it rather slow, but it's meant for people who have no experience.

11 years ago
Permalink

Comment has been collapsed.

11 years ago
Permalink

Comment has been collapsed.

Yukusu kenza keena...

11 years ago
Permalink

Comment has been collapsed.

There's a book called Thinking in Java. I liked it :)

11 years ago
Permalink

Comment has been collapsed.

I started with Unity and Youtube. After using Mono Develop in Unity while watching videos on Youtube I was able to figure out most of it from what I watched. What I didn't learn from videos I picked up from Unity forums and books. Java is very easy to learn.

11 years ago
Permalink

Comment has been collapsed.

waht? Unity doesn't use Java.

11 years ago
Permalink

Comment has been collapsed.

Did you read the part where I said "Mono Develop"?

11 years ago
Permalink

Comment has been collapsed.

I did.
Please tell me you're not confusing JavaScript with Java?
And then if that's not the case, explain why you're suggesting to shoehorn Java into Unity.

11 years ago
Permalink

Comment has been collapsed.

http://www.codecademy.com/

This site is really good

11 years ago
Permalink

Comment has been collapsed.

i agree

11 years ago
Permalink

Comment has been collapsed.

If you are new to programming in general, I would recommend you to buy a book. I know that looking tutorial on internet it's cheaper but most of the sites are not so complete on the various aspects of programming and you will have to look a bit in a place a bit in an other and so on, loosing time, forgetting parts and maybe not understanding correctly. I don't really know what book to suggest about java but I think starting looking reviews on amazon can work.

11 years ago
Permalink

Comment has been collapsed.

I suggest you read Bruce Eckel's Thinking in Java, which he gives away for free on the internet here. Note that it is not short; it is an entire full-length book. But if you've never learned an object-oriented language before, it is worth taking the time to read the whole thing.

If you read and understand that entire book, you will be competent for any intro-level job requiring Java programming. (You should probably still get a master's degree, because employers are dumb and look for that. But that book is worth more as a practical matter.)

11 years ago
Permalink

Comment has been collapsed.

Simple java - very easy to get started. ;)

11 years ago
Permalink

Comment has been collapsed.

I found the ones here very helpful. There are 39 of them altogether, but everything was explained so well I did one a day last summer.

11 years ago
Permalink

Comment has been collapsed.

First, why do you want to learn Java? Do you have some type of program in mind that you think Java would work well with? I used to be a fan of Java but it's gotten very verbose over the years (i.e. a lot of code does very little). I'd recommend an interpreted language such as Python or Ruby if you're new to programming.

11 years ago
Permalink

Comment has been collapsed.

Closed 11 years ago by doubledragon666.