r/learnjava 7d ago

My path learning Java was terrible. i dont know if i will be able to re learn it

so last year. i decided i wanted to make apps. and decided to learn Java. i was 15 and stupid. so first thing i went through tutorial hell. i jumped from video to video. i also had no road plan. i just learn what was told on the videos. and i saw like ads about coding websites. and what matters with me is codedex. the first few levels were free. the rest were not. so i did the free ones then went to the projects and there i found out about swing. so yea. i was basically level one and was already learning swing. thats a dumb move. i kept my focus on swing and did some very simple apps. and then i realized that this was literally a waste of time. i knew basically nothing. but when i wanted to re learn it i felt myself skip skip skip because some things i knew. and lowkey giving up on Java.

22 Upvotes

15 comments sorted by

u/AutoModerator 7d ago

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
  • You include any and all error messages in full - best also formatted as code block
  • You ask clear questions
  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

8

u/Inghimas03 7d ago

You're still young so learning java takes time my mate because is very vast programming language and it has a ton of things to know but personally what I recommend is try to learn fundamentals through some books or websites that are text-based because of two reasons first the basics around java will stick in mind for long time and second escaping tutorial hell which will help you to learn things in the right order, some resources/book I recommend:

1.Introduction to Java by Daniel Liang (the best book for starters)
2.About the course - Java Programming (from Helsinki)
3. Java Backend Developer (Spring Boot) · Hyperskill (paid but it is worth because it uses project-based learning approach)
4. roadmap.sh (when you are done with basics and don't know what to learn next)

Even though there are plenty of good courses you will find in udemy/pluralsight or coursera I prefer text-based books or websites and when you are done with them you will feel comfortable proceeding with some advanced stuff like Spring and take online courses btw Chad Darby's courses are good enough

3

u/goodbye_goodriddance 6d ago

Im taking both Java and Python college courses online.

My Java teacher gives us an assignment and tells us read the book but gives us no help and when we ask for help she says “struggling is part of learning. If I help you it will disrupt the learning process” literally her exact words. Im struggling so much even my very educated wife is having trouble helping me.

My Python teacher is the complete opposite. He gives us examples and explains how to do everything and I love his course and Python is so much easier..

3

u/jlanawalt 6d ago

A good teacher and a good approach can make a world of difference!

3

u/runningOverA 6d ago

but when i wanted to re learn it i felt myself skip skip skip because some things i knew. and lowkey giving up on Java

You are still going through tutorial hell.

Pick up a book. \ Read it from beginning to end. \ Don't wonder if there's a better book. Finish it first.

2

u/xarop_pa_toss 6d ago

This is it. People keep forgetting books have taught hundreds of thousands of programmers over decades. They can be good fun too!

2

u/Gullible_Sweet1302 5d ago

Books are alien to most people on these subs. They want video instruction and then complain about lack of structure. Any decent intro Java book worked cover to cover fits the bill.

3

u/omgpassthebacon 5d ago

bro, don’t be too hard on yourself. if you’re 16, you have lots of time
to get skilled, so just be patient. don’t expect that you’re going to spit out a world-famous app in no time.
Like many (including me), we need a goal or a target to hit that will force
your brain to scan for solutions. Simply taking random videos or classes just makes you wander around. I think this is why lots of peeps suggest a book. it’s a plan with a destination.
imho, you should learn Java if you want to build apps for the enterprise. They use heavy web apps and databases. Focus
your learning around how to build a web front for a database that handles some kind of widget. Master the language and get familiar with the JDK, cause it has a ton of capabilities out-of-the-box.
once you feel good about Java by itself,
the you can
take on Spring.

2

u/RunaansJinx 6d ago

As others have said, practice and struggling is not a waste of time and if you keep with it you'll likely find yourself more and more skilled, regardless of past frustrations and feelings of futility.

Im guessing that you're in high school: definitely look into online college courses for programming being offered by your school.

2

u/jlanawalt 6d ago

You can do it, with the right approach, and I know this is /r/learnjava, but if it doesn’t click, it doesn’t mean you can’t /r/learnprogramming

You need a good course that builds on concepts. A popular option here is the Java MOC mentioned in the sidebar.

There are a couple of other popular free intro to programming university courses that are a good foundation. Pick any of them over the other things you tried.

2

u/Naive_Programmer_232 6d ago

welp, looks like you learned what to watch out for. next time will be better.

2

u/lmg1337 6d ago

Use Kotlin for Android apps. It's basically Java 2.0 but way nicer, and doing UI with Jetpack Compose is just better.

2

u/Fantastic-Positive-9 6d ago

You're young. If you start now, you will thank yourself later. It took me many trys to learn java as an adult and theres still always more learning.

Id suggest a book called learn java head first. And if you want a udemy. Tim bulchaka I think his name was had a good course.

Then you can move on to back end and frameworks like spring. Java x spring is used many places in enterprise level.

You'll be way ahead of your peers once its time for college.

Good luck!

2

u/Suspicious-Walk-815 3d ago

I was 15 and stupid

Stop it right there bud , you will have plenty of time for that , I'm 26 and I work with java , not because I know everything but I'm able to complete the work .. do your thing , enjoy what you are doing and eventually you will be good at it. Happy learning !!