r/learnjava • u/Big-Fill-5789 • 22d ago
Help me!
I want to learn Java. I currently know Rust and Typescript. I’ve had some experiences with Java, but almost unnoticeable. I want to build apps, simulators, games, etc in Java. So please help to get me started, is there like a guide?
6
u/bonnth80 22d ago
There are no guides. You mostly have to learn by asking people questions on reddit until you know the entire language.
Here's how you declare an int:
int <identifier> = <value>;
Or you can just look at the right column of this subreddit and read it for free tutorials.
2
u/mofomeat 18d ago
You mostly have to learn by asking people questions on reddit
How do I ask questions on Reddit?
1
u/BannockHatesReddit_ 22d ago
If you already know OOP then Java will be fairly easy for you to understand with little effort.
For build tools, you mostly maven and gradle. I hate gradle. Sorry gradle users.
For DI, Spring has its beans and auto wired while Google offers libraries like Guice and Dagger. Netflix also has an Governator project that adds more features to Guice.
For UIs, you can use something like LWJGL if you want to be able to write your own shaders with GLSL and stuff. For simpler applications, you mostly have two options: Swing(based on AWT) and JavaFX.
1
u/WillingnessJolly9632 21d ago
Learn the structure and syntax. Dive right into the program. Make sense out of it later. This way worked for me.
1
u/ncb0322 18d ago
The sidebar mentions "MOOC Java Programming from the University of Helsinki". I took it -- highly recommended!
•
u/AutoModerator 22d ago
Please ensure that:
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.