r/learnjava • u/mhmd04 • Apr 27 '16
Starting programming Java
So I know 0% programming and would like to learn... (starting with java) Any clue where's the best starting place?
3
u/panda_wolf Apr 28 '16
Read the book Head First Java
0
u/Hrududu147 Apr 28 '16
This is a great book to get started with.
I also found http://www.javacjava.com/ good as there are a ton of tutorials with video where you can go to flesh out any topics you might not be clear on.
3
u/desrtfx Apr 28 '16
All of the following are free and absolutely great (and linked in the sidebar):
University of Helsinki MOOC Object Oriented Programming with Java - text based with exercises that need be completed and submitted before being able to proceed. (Uses Netbeans as IDE)
Java for Complete Beginners by John Purcell (probably the best and easiest entry into Java) - video based (Uses Eclipse as IDE) - the three links below lead to the same course hosted on different servers. I would use the Udemy link because it has an active community where you can ask questions and get answers.
CaveOfProgramming link - John Purcell's site
Derek Banas' Java Youtube playlist with the accompanying site Newthinktank
Try all of them (you have nothing to lose but time) and work with the ones that fit your learning style best (I am deliberately using the plural here since often a second or third tutorial helps clarifying issues that can't be understood/answered with the tutorial of choice).
2
u/Iwasborninafactory_ Apr 28 '16
Before you follow any advice, determine what type of learner you are. Moments after that, determine what your end goals are.
Helpful folks are throwing answers at you, based on their own presumably positive experiences, indicating that there is more than one best method to learn.
If you offer up more information, you'll get better answers.
0
u/LemonCrispies Apr 27 '16
I think one of the best things you can do is to dive right into something like Javascript to learn how coding works. Java isn't much different and the biggest differences in my experience are that Java is Object Oriented.
Learning the logic behind how a computer reads code will give you a good jumping off point, I would suggest freecodecamp or codeacademy.
I also like the Head First books for when you're ready, there is a Java one and an Object Oriented one. I own them both and they're very well detailed.
3
u/desrtfx Apr 28 '16 edited Apr 28 '16
dive right into something like Javascript to learn how coding works. Java isn't much different
This is one of the wrongest statements that I've read about Java and JavaScript so far.
The languages are completely different and have nothing except the basic syntax (and the similar name) in common.
Advising someone who wants to learn Java to learn JavaScript first is like telling someone who wants to learn how to drive a car that they should learn how to ride a horse first.
Sorry, completely wrong and misleading advice. Had you said C#. it would have been acceptable, but JavaScript isn't.
freecodecamp or codeacademy.
Again, misleading.
Freecodecamp is for web development which has zero to do with Java and follows completely different programming paradigms
CodeCademy (there is no
aafter theeand before thec) is already a better option, but their Java course in particular is not useful to absolute beginners as it is neither verbose enough, nor does it provide enough content, nor does it teach how to develop on one's own desktop. The learning to program subreddits are full of people who have gone through the Codecademy Java trail and are completely lost when it comes to developing apps by themselves.The only good advice here is Head First Books as they are commonly seen as high quality and really are decent books.
0
u/LemonCrispies Apr 28 '16
While you may have taken some time to put this response together I would have to tell you that you are completely off base by saying Java AND Javascript are completely different.
I'm talking about the basics of code which Javascript conveys very well. Variables, Loops, Logic Statements. The basics of coding. They're all there in Javascript stuff that's available on code academy and free code camp.
When somebody tells me they have 0% experience I assume they know nothing. So handing them a head first book and saying good luck is a bad idea because generally the books assume you know a little about coding.
I'm not saying MASTER Javascript. Nut taking a few free beginner courses is not going to hurt as it will get their feet wet in some kind of coding.
2
u/desrtfx Apr 28 '16
If you just talk about variables, loops, logic statements you can basically choose any C-like language or even Pascal. The very fundamentals are the same in all procedural and OO languages (functional languages work somewhat different).
For these fundamental concepts, Scratch is probably the best choice since it displays the code flow graphically as opposed to no visible code flow.
The main problem with mixing Java and JavaScript is that despite both being typed languages, Java has explicit typing while JavaScript has implicit typing. And this is where I completely am against using JavaScript as underlying knowledge for Java. In Java you as the programmer need to know your data type exactly, whilst in JavaScript you don't need to care - you just use
varand you are good to go. Also, JavaScript handles objects (if you can call them so) completely different to Java.I wouldn't even consider Python for the same reasons, despite being probably the language with currently the lowest entry barrier.
-3
3
u/sandollars Apr 27 '16
mooc.fi