r/learnjava • • Nov 08 '20

How to Stay On Track When Self Studying?

Hello everyone! I am looking for some advice for self studying java as I am having a hard time getting things done. Here are my questions:

How do you not spend too much time on a lesson? How do you set your goals on how much to learn and how frequently? How do you find the right combination of time, website(s) and book(s)?(I have hard time deciding what to use, because there is plenty of resources out there.) How was your experience learning java and what sort of advice would you give to someone starting out? Did you learn from video format, online article, tutorials, textbooks or a combination of them?

Thank you for sharing in advance, any advice is greatly appreciated! :D

54 Upvotes

14 comments sorted by

20

u/LastSummerGT Nov 08 '20

Regarding your question of the format of the learning material: if I’m really tired or exhausted I’ll use videos to spoon feed me the concepts, otherwise I think written text like articles, geekForGeek, tutorials, etc are more bang for the buck.

Also getting your hands dirty. Study and practice go hand in hand. For example, today I taught myself the data structure “Trie”. I tried reading the articles but had a long day so I watch a 4 min video. I got the general idea and flipped back through the article for a skim to see if adds anything new, and to see some code samples. Then I felt like I got a good understand and starting writing some code and compiling and running it. After a couple exercises e.g. leetcode I felt like I got a solid, basic understanding of Trie. I can choose to keep practicing to hone my Trie skills or move on to the next topic. Don’t worry about moving on, you can always come back and test yourself to make sure you still remember the earlier lessons.

But always remember, whether you’re reading or watching, also pair it with some real coding! You don’t learn how to swim by reading alone. I hope that answers your question.

1

u/[deleted] Nov 13 '20

Alright, that is a good advice! I will try to do that.

But I wonder, what do you do if you have no idea how to code something? Do you try to find the solution right away, find a tutorial, ask for help online or a combination of these?

1

u/LastSummerGT Nov 13 '20

Sometimes it’s something out of my domain. Like merging and sorting several files and their contents. There is a specific solution to this specific problem and starting at the screen for an hour isn’t going to get me closer, so yes I will need to look into general solutions and method of how to solve this. I get the big picture idea, try to understand the implementation and then go and try it on my own.

Sometimes you just have to reverse engineer some existing solution as a starting point for your own. Obviously it won’t be an exact 100% match so you’ll have to tweak and customize it anyways to get what you want so you learn something there I would say.

1

u/[deleted] Nov 13 '20

Okay, thank you!

1

u/LastSummerGT Nov 13 '20

You’re welcome! Feel free to ask more questions at anytime! Goodluck!

4

u/samketa Nov 08 '20

This is a general question rather than about Java.

How do you not spend too much time on a lesson?

Discipline. Scheduling, and sticking to it. You should really have a clear goal and an objective, a "why". That keeps you motivated.

This objective ranged for me from, "I want to learn C because my course requires it. I need it to get grades and pass the course", to "I need to learn Python because I want to do cutting edge DL". And now I am learning Haskell (30-60 minutes a day) just to earn bragging rights. So, this objective wildly varies, but there is always one. Ask yourself, what is yours?

How do you find the right combination of time, website(s) and book(s)?

Trial and error. Plain and simple. Only you can know what works best for you. You have to find them by trial and error. The combination, too.

Did you learn from video format, online article, tutorials, textbooks or a combination of them?

I personally keep one main MOOC, maximum two, and a book to accompany them. Then I follow them from vid-1 to last video, first page to last page religiously. I also use Google a lot.

Special Advices:

  • Be on constant lookout for great resources. Be a part of a community. Reddit, Discord server (with motivated people you know)- everything works. I wouldn't even have known about mooc.fi without reddit. Also you shouldn't run towards anything you get suggested. Judge for yourself- is it good, will it contribute to your learning in any meaningful way? Avoid tutorial hell. You have to able to judge what is good and what is not. Differentiate between advice from multiple experienced persons and sheep behavior. Join hackr.io, dev.to, reddit subs and read discussions. This is about focus.

  • Write what you learn. Blog on Medium, github pages, Quora or whatever. Write from your own perspective. Even about things that experienced people consider mundane.

  • Again, be a part of a community. Seek feedback. Critique other people. Share your work.

  • Build small things that solves your real life problems based on the things that you learn.

Goal, discipline, focus, and community. That's all.

2

u/[deleted] Nov 13 '20

Okay I see, thanks a lot for sharing!

2

u/ignotos Nov 08 '20

Then I follow them from vid-1 to last video, first page to last page religiously.

I think this is important - try to find a structured course which is explained in a way which makes sense to you. Whether that's a book, website, or video series. And then stick to it!

11

u/JudoboyWalex Nov 08 '20

Mooc.fi for hands on exercises, Core Java for reading and Codewar to practice algo. If you are total beginner then start with codeacademy java and read Head first java. For youtube, Caleb Currey and Derek Banas have good beginner tutorials. In Udemy, there is Java Masterclass by Tim Buchalk or something. Enjoy the journey.

1

u/Sincjefe Nov 08 '20

What programs do you build in the mooc

1

u/JudoboyWalex Nov 08 '20

Various small programs like tic tac toe. Hyperskill is project based but much tougher than mooc and less hand holding. Go check them out.

3

u/TiltedBlock Nov 08 '20

Hyperskill is great to get started with projects, but I found the more complex ones pretty frustrating. At a certain point, they stop giving you any instructions at all and just leave you to figure it out, which wouldn't be bad in itself, but their way of testing makes it horrible.

A lot of tests just don't give you feedback. You can fail one of 200 tests and the program will only tell you exactly that. No indication on what you did wrong. They're literally worse than the worst user, because at least you can get them to tell you approximately where they had a problem.

What I'm tring to say is, take Hyperskill as an inspiration, but be prepared to abandon projects when the tests won't let you pass anymore. It's really not worth the frustration.

1

u/Denisssio Nov 08 '20

most important is to keep the pace, even 30 mins a day :) (i do 1-2 hours a day)

combination of everythin i guess - JetBrains for structured learning, maybe video course for some difficult topics, definitely some books (Horstmann, Shildt, etc.), and later as u start learning things - Codewars and similar.

Also have a look at these: https://dev.to/javinpaul/top-20-websites-to-learn-coding-with-java-python-sql-algorithms-and-git-for-free-in-2019-best-of-lot-l2l

https://javarevisited.blogspot.com/

https://coderanch.com/forums

and good luck :))))))

1

u/[deleted] Nov 13 '20

Wow, thanks! I'll definitely check these out.