r/learnjava • u/Timoteyo • Mar 27 '20
Just got into Java (with c background from my degree in electrical engineering in college)
With this whole quarantine in operation. Figured it might be my chance to learn this. So far from what I've heard Java is more than a language it's more of a tool. It's advantages are it runs on a virtual machine. It's manageable due to it's features like automated memory allocation, garbage collection and multi threading. I plan to learn it so that I may develop small web-apps and phone apps for my future projects. Anything I should look out for before diving in? Currently learning in Pluralsight
If you have discord feel free to add me. Let's solve some puzzles together!
Timoteyo #5742
6
u/designheroapp Mar 27 '20
Maybe when you need a break from learning core Java, take a look at SpringBoot and learn about REST and microservices so you can get an idea of how it's used widely in the real world by companies like netflix, IBs, etc. This will help you bridge the gap on theoretical and practical knowledge.
1
u/Timoteyo Mar 28 '20
Thanks this will be very helpful since I plan to run my brain in focused mode and in diffused mode for optimal learning. Will check out SpringBoot if I'm in diffused mode
3
u/pokemaster787 Mar 27 '20
Electrical engineering student chiming in here, started learning Java about 6 years ago in high school, currently at my internship I spend most of my time writing embedded C. Took about two-three years of Java based computer science courses in high school and learned C in an embedded course prior to my internship.
C and Java are more or less the same syntactically, there's nothing that should trip you up except that you're free from pointers (how I envy you). You'll find the main difference between Java and C is just the sheer amount of libraries and technologies to integrate with your Java program, compared to C (at least, embedded C) where you're lucky to get a poorly documented library or some unexplained code on Stackoverflow. I'd focus on learning the technologies surrounding the language rather than the language itself, since I guarantee if you have experience with C you can write Java without any trouble, it's just C with less to worry about and a bunch more convenience features built in.
I'd offer technologies worth looking into, but I have no experience with web-apps or mobile development and have been away from Java for a few years at this point, so I'll leave the specific suggestions of what to someone else or to your own research. But I guarantee you'll be writing syntax error free code in less than 24 hours if you're a capable C programmer.
1
u/Timoteyo Mar 28 '20
Wow! Congrats on getting that internship! How are you faring right now? I'm kinda rusty on C right now since we usually use matlab for problem solving nowadays. Reviewing it on a MOOC right now and Brilliant. Brilliant is a good reviewer for fundamentals and brain teasers.
My sole purpose of learning java is for research where I can slowly publish on webapps (mostly simulations). Hopefully I can contribute on our research team in the electrical department in the future. I'm glad to see other electrical people coding as well.
2
Mar 28 '20
If you use codeacademy with your school e-mail you get the pro version free for the rest of the school year.
2
7
u/Northeastpaw Mar 27 '20
Make sure to work through the MOOC. Some of it might be a bit of review since you already have some programming background, but learning the basics of OOP should be useful.