Looking for the best place to learn Java Code

Status
This thread has been locked.
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Jack Chapman

Java, Kotlin and Full-stack web Developer
Premium
Feedback score
7
Posts
34
Reactions
15
Resources
0
Honestly, YouTube is the best way that I learnt. Don't make the mistake of getting into mod / plugin development before you have a really good understanding of Java. If this isn't your first language I'd personally recommend learning another programming language like python first, as it allows you to learn the core concepts of programming as java doesn't exactly make this easy. After that, hopefully, it shouldn't take too long to learn java. Python is may more beginner-friendly and has way more updated tutorials that I can find over Java. Plus, with Java, just to make a basic program you'll have to write a lot of code that you won't understand for a while since a lot of the things that make programming less intuitive are required just to make it print something to the screen (access modifiers, static members, functions and return types, classes and object-oriented programming, packages etc.). At first you can just ignore these, but at some point you'll need to understand this as they are crucial parts of Java and coming from another language means you may already have an understanding about some of these but in a much simpler context.

I find sites like HackerRank and Codeforces good as in my opinion it's easy to learn the syntax of a language, but significantly harder to think of a programmable solution to a problem. These websites also help you to build more efficient and usually therefore more idiomatic code. Obviously, use these websites to supplement learning as they aren't really a way to learn a programming language.
 

CorruptedCode

Supreme
Feedback score
0
Posts
34
Reactions
11
Resources
0
Honestly, YouTube is the best way that I learnt. Don't make the mistake of getting into mod / plugin development before you have a really good understanding of Java. If this isn't your first language I'd personally recommend learning another programming language like python first, as it allows you to learn the core concepts of programming as java doesn't exactly make this easy. After that, hopefully, it shouldn't take too long to learn java. Python is may more beginner-friendly and has way more updated tutorials that I can find over Java. Plus, with Java, just to make a basic program you'll have to write a lot of code that you won't understand for a while since a lot of the things that make programming less intuitive are required just to make it print something to the screen (access modifiers, static members, functions and return types, classes and object-oriented programming, packages etc.). At first you can just ignore these, but at some point you'll need to understand this as they are crucial parts of Java and coming from another language means you may already have an understanding about some of these but in a much simpler context.

I find sites like HackerRank and Codeforces good as in my opinion it's easy to learn the syntax of a language, but significantly harder to think of a programmable solution to a problem. These websites also help you to build more efficient and usually therefore more idiomatic code. Obviously, use these websites to supplement learning as they aren't really a way to learn a programming language.
Thanks for the info! I will definitely jump on that! Thanks!
 

StackFlow

Feedback score
1
Posts
82
Reactions
45
Resources
0
As your first language, Java will be overwhelming by quite a mile due to the complexity of it. I wouldn't recommend just trying to learn plugin development right off as you will find yourself struggling a lot. Once you have a good understanding of Java, then go into plugs. As Jack Chapman mentioned, I would learn Python first as you will get a much better and easier understanding of basic-advanced programming concepts and once you're comfortable with that move into Java.
I would myself recommend using Udemy also, wait for a sale and the course will only be about $15 :)
 

Project Alterra

Premium
Feedback score
0
Posts
22
Reactions
4
Resources
0
https://www.youtube.com/channel/UC_fFL5jgoCOrwAVoM_fBYwA/featured

https://www.youtube.com/c/TheSourceCodeTutorials/featured

I recommend the channels above. If you could effort a book too it would be the perfect combo to learn Java Code fast.

Tip: Try to stay away from developers who try to impress you with their code at your first steps, everyone struggles to make a good looking/working code even if they don't admit it. Just keep in mind that the Imposter Syndome might hit you at your first steps if you have these developers around you.
 
Last edited:

skittles

Deactivated
Feedback score
9
Posts
287
Reactions
132
Resources
0
If you ever need help with any bugs or you just want to learn something new, you can contact me @ SkittyDev#6899. I'd be happy to help.
 
Status
This thread has been locked.
Top