r/learnjava • u/Accomplished_Ant4486 • 3d ago
Need advice regarding java leaning path
Hy I'm a beginner java learner. Recently my friend said java got a bit easier and the syntax is shortened.
Does that mean I should learn the new java version, fundamentals etc? Or start from the earlier version of java?
1
u/desrtfx 3d ago
Don't focus on the syntax, focus on the fundamentals and on programming.
Also, as of now (and for quite a long time in the future), the very vast majority of the Java code around has the old syntax. If you don't learn that, you won't understand anything.
Do the MOOC in the sidebar.
0
u/Accomplished_Ant4486 2d ago
Thanks for it. Btw what's MOOC
1
u/MyNameIsRichardCS54 2d ago
It's an online course, usually provided by a university. In this case the University of Helsinki and it's very good.
0
1
u/desrtfx 2d ago
There is exactly one MOOC linked in the sidebar ---> right side of reddit desktop (menu on mobile)
0
u/Accomplished_Ant4486 2d ago
But I can't find it
0
u/desrtfx 2d ago
Since you can't find something that is right in front of you: !sidebar
1
u/AutoModerator 2d ago
In our sidebar ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses.
To make it easier for you, the recommendations are posted right here:
MOOC Java Programming from the University of Helsinki
accompanying site CaveOfProgramming
accompanying site NewThinkTank
Hyperskill is a fairly new resource from Jetbrains (the maker of IntelliJ)
Also, don't forget to look at:
If you are looking for learning resources for Data Structures and Algorithms, look into:
"Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University
Coursera course:
Coursebook
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/realFuckingHades 3d ago edited 1d ago
Spend 2-3 days not more understanding the concepts of Object Oriented Programming and Functional Programming. These will give you the foundation needed for most languages.
Spent the next 5-7 days understanding the data structures. Like what's a set, what's a map, what's a linked list etc. Useful across languages.
Now you try writing pseudo codes. Like splitting a logic into if statements, for loops, while loops, do while loops, jumps and stuffs. Spend 3-4 days on this. Useful across languages.
Now you pick a language, preferably the latest version of java 25. And then start converting your pseudo code to java. Instead of sitting and focusing on learning java in one go, you will be learning on the fly, on demand.
1
1
u/SnooLentils618 2d ago
I mean it all depends on what’s your background and if this is your first language
Are you joining a project or are you learning only
General advice is learn from Java 8 syntax and then learn what has changed and update your code to try it out
1
u/Accomplished_Ant4486 2d ago
My background is in computer science. I'm in my 2nd year undergraduate. It's not for project. I'm learning as a career choice. Also no not my first language. Learned c and c ++ , tho not mastered it
1
u/SnooLentils618 2d ago
I always say learn basics using courses and still I would learn Java 8 syntax
But don’t stay on courses too long
Then have a project and learn from mistakes and getting stuck2
1
u/Accomplished_Ant4486 2d ago
How long should I watch tutorials or courses like till when, and when should I start projects of my own
1
u/SnooLentils618 2d ago
Honestly a short as possible. It gets boring quickly (at least for me)
So don’t take more than 2-4 weeks
0
u/DemicideMMMCCCI 3d ago
You could probably start with 21 or 17,then use the latest to see the differences. But either way, the version really doesn't matter that much until you go from 8 to 17
1
u/Accomplished_Ant4486 3d ago
Thanks. The earlier version I used, we had to type , for eg : public class hello { ..... System . Out. Println.... But in nee version I saw it's just void ().. println() etc. so that's my doubt
•
u/AutoModerator 3d 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:
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.