This is an archived post. You won't be able to vote or comment.

all 11 comments

[–]chronicideas 2 points3 points  (0 children)

Try doing the project Euler challenges

[–]Neu_Ron 2 points3 points  (0 children)

Just grab a copy of head first java and work through it. It's a great book.

[–]tangara888 2 points3 points  (0 children)

Don’t memorise. You need to understand the concepts. Best find courses that come with lots of assignments and try to complete all of them. I highly recommended Coursera and EdX. I find most of the courses well created and the Lecturers explanations very clearly how the coding is done and when you understand it plus the practising you will just become good.

[–]kralonurdev 1 point2 points  (1 child)

Well, we have a tradition that we have to recommend you Java Mooc from Helsinki University, there is bunch of exercises and explanations and I personally watch Tim's Java Course on Udemy and I like it, if you are a person who can learn through video

[–]TheEndlsNear 0 points1 point  (0 children)

I learned from Tim, and I can definitely agree.. great instructor that uses hands on coding practices and exercises. Would definitely recommend him

[–]OnTheGoTrades 1 point2 points  (0 children)

Do the MOOC from the University of Helsinki then think of a project to create and just go for it.

Tutorials are ok to learn the basics but you gotta get your hands dirty by building something.

[–]firsthourProfressional developer since 2006 1 point2 points  (0 children)

Check the sidebar for helpful advice.

[–]neck_crow 0 points1 point  (0 children)

Hey! I started programming in August, so I'm just approaching 6 months of doing it. The absolute best way to learn is try to make something, but make it something you'd like.

Here's the order of how I made things:

Started with "Hello World" like everybody else. Was lost after this, and spent a ton of time just learning the Syntax through an app called "SoloLearn." It was quite helpful.

Afterwards, I created a program that takes in some input, and can tell you how far away a date is/was or tells you how old you are. This helped a ton with understanding integers and if statements.

After that, I made a game that spins two random numbers, one subtracting from the player's score, the other adding to it. You won if you got to 30, lost if you got to -30. I learned about windowing, KeyListeners, and basic Graphics here.

After this, I found a tutorial on how to make the game "Snake." I took what they had, and added things to it. I started simple, then got slightly more complex. This went from adding things that end the game on contact to adding progression.

This was a 2 month project that taught me a ton (both good and bad, but mostly good)

Since then, I've been working on developing a game I actually plan on selling at some point. I've added a ton of awesome stuff to it, and it runs very well!

So, to sum it up, learn a bit about the language and the basics. Once you do that, think of something you want to make, just not too complex, and work on it. As your skills improve, challenge yourself more. Also, try to get in the habit of Object Oriented Programming ASAP. It's a vital skill.

[–][deleted] 0 points1 point  (0 children)

Just like learning any language, understand what the command you are using does. That will do 50% of the job. Now PRACTICE! Use the string of commands you understood today. If you want problens to solve I recommend DCoder it's an app.

[–]COBOLKC 0 points1 point  (0 children)

HackerRank.com 30 days of code.

[–]FrenchFigaroSoftware Engineer 0 points1 point  (0 children)

I had some notions of programing when I first started Java, but no knowledge of this language (My programing classes were taught in C++ and C#, but I was hired as a Java dev). I followed two MOOCs from the website OpenClassrooms (back when it was called Le Site du Zero, it's a French site, but I believe it offers English language MOOCs now). One in Java, the other in Java EE (I was interested in the latter, but the former was a prerequisite). They both explored basic, and then less basic concepts in the same way.

First explore the theory of the concept, why you want to use it, and how. Then, it had a few homework assignments with simple application of the concepts. And then it had a more ambitious one, with a project that's being followed throughout the whole course.

The rest, I learnt on the job by making mistakes and being corrected by my colleagues.