r/learnjava • u/[deleted] • Apr 12 '24
Should I learn Java?
I'm a beginner in programming, I already have some basics in Python. I don't know if it's relevant, but I have experience with Linux. I want to work in more traditional companies in something like software (I don't like the web).
Do you think Java its a good choice? If yes, Where should I start?
5
u/Addis2020 Apr 12 '24
What do you mean by basics ?
0
Apr 12 '24
Programming logic and some codes with the pandas module
9
u/Addis2020 Apr 12 '24
ok, stick to Python learn OOP, and DataStructures. pick on problem-solving techniques such as divide and conquer recursion and dynamic programming. instead of learning another OOP programming language its best to learn DBMS systems with Python like SQL . After that pick up networking courses ( you can use Python).
You could do a lot with Python, once you become good at OOP with Python picking on Java is just learning syntax, learning the Java frameworks is going to be harder than java.
Hope you find this useful
edit : Pandas is very deep and complex keep on pushing on that path too, its great for using big data
4
u/SnooLemons6942 Apr 12 '24
I'd recommend learning data structures and algorithms in Python, as well as object oriented principals. No need to throw another language in before you've got those things
Also, what do you mean when you say you don't like the web? "Web" is a term that encompasses a ton of stuff. Some apps, like Discord, are built with web technologies like Electronjs. Discord is a web app. A lot of software is on the web. The web is just another means to create software. If you haven't done any programming with web related tech, I'd recommend not saying you don't like it. Of course you can like and dislike anything you want :) just don't knock things until you've actually used them—you might like them
1
Apr 12 '24
What I meant is that I don't like using web technologies for website development. I simply can't get it!
1
u/NaughtySnoodle Apr 15 '24
That sounds like an absolutely insane take lol. HTML, CSS and JavaScript on the web seems great for learning at the very least.
I’m pretty sure building UI with python is a bit easier then Java (don’t quote me) however both still harder then using web technologies on a browser.
Sure you could learn more programming from the console but building working web applications is fast and probably more fun as a beginner.
I’m currently a freshman CIS major learning Java and quiet honestly learning the swing and JavaFX libraries for UI development feels brutal compared to the walk in the park html and css is.
3
u/i_do_not_byte Apr 12 '24
when you're first starting out, take 1 language and learn the basics thoroughly through it. then take on learning another language. common beginner timesink and mistake is to pick up too many things at once.
Also not to be that person, but web applications make up a lot of jobs in the software development industry at least at the moment. Java is big in backend development for web applications with microservices architecture -- mostly enterprise applications, but still very relevant.
If you dont wanna do web development at all, then look into niches like embedded systems, operating systems, low-level stuff. because almost everything else involves some web development at some point.
1
Apr 12 '24
I appreciate your comment, but when I talk about web I mean technologies like Javascript, Html and CSS. I simply can't program in them.
2
u/i_do_not_byte Apr 12 '24
Thats likely referring to Frontend Web Development you mean then. With UIs.
Keep your mind open to all kinds of niches early on in your career! (:
1
1
u/N-M-1-5-6 Apr 17 '24
Yep. If you delve into "backend" web development, you will find that the paradigms used are more similar to most non-web types of development than to frontend web development. IMHO, backend programming is not easier or harder than frontend, but they have to be approached differently. Some people "click" with one more than the other though!
And, feel free to learn any language that you like. IMHO, Java is certainly one of the ones to check out. It isn't currently the flashiest or the coolest, but it can be very enjoyable and provide you with great career opportunities. Its design center tends to shine in medium to large projects, but I think that you will find it a very versatile language/environment!
1
u/adithya47 Apr 29 '24
Then why does every one keep saying learn java....i dont understand...is it because freshers need to know it to start career... and only few employers show interest in freshers with python...why..cuz its too easy to learn &understand and dont get you a good impression against a java guy
1
u/i_do_not_byte Apr 29 '24
Its not because Java is any more impressive than Python as a language -- I think the best way to think of programming languages/coding is a tool to display your real skills. Yes, you need to know a language syntax really well, but you also need to know how to solve problems with it.
Many jobs that involve Python are AI/Machine Learning focused, while Java is what many big enterprises use for their microservice based applications. So there are python jobs out there, but they may require masters or phd or very specialized experience.
2
u/tech-nano Apr 14 '24
You should learn Java. Java has a framework called SpringBoot that is super cool. Java is considered a core language. There's huge demand and the pay is very solid.Many companies such as Netflix use Java to program modular units of code (microservices) that allow things like on demand streaming of videos from any global location .
Amazon relies on Java as it's bedrock programming language for the Amazon online market place AWS.
Most people know Python but very few people know Java. There's a huge demand for Java programmers .
I work in Enterprise IT and Java is king in Enterprise.
I also worked on a fairly large and very important data project and I recall as the user base grew 1000x, those stuck with the project in yr 2 regretted the choice of Python for a project that ended up scaling beyond the original design scope. It was too late to switch the code base to Java.
My Java professor that also taught a Python class I took told me you learn Java. Let it be your bread and butter but you should also learn Python because it's a Swiss army knife that comes in handy when you need to get things done quick.
Checkout Java web SpringBoot courses on Udemy. You'll have a blast.
I find Java and SpringBoot to be fascinating . You can do lots of fun things using Java for backend programming /rendering APIs /Network Programming etc.
Data Structures with Java is super cool. Look up Hash tables and collision avoidance in databases or Searching or information retrieval .
Java+Mongo DB is the lingua franca (language spoken) in many Enterprise IT projects.
When projects grow up/mature (have a significant user base) the code base invariably shifts to core Java or Java like approaches for stability and durability .
I think you'll love Java . You should learn. I strongly encourage you to do so.You'll thank me later as you make bank🤑🤑
Good luck.
1
Apr 15 '24
Thank you, Could you suggest some study material?
2
u/tech-nano Apr 15 '24
For core Java , find any highly reviewed course on Udemy .. there are good courses for ~$15.99
For Java SpringBoot, Chad Derby has really good courses on Udemy.
Udacity is super expensive but their courses on Java and Java Web development are rock solid. Slightly dated (the Spring Boot course) but the core information is dynamite.
Community College is also a hack . You could do C++, Java and Data Structures in 3 semesters..
Definitely do Java . You will reap the rewards in due course.
Happy coding 👊👊
1
Apr 15 '24
Thank you, i will try my best, if you want I can give you my results in a couple of weeks
2
u/tech-nano Apr 15 '24
https://aws.amazon.com/what-is/java/ Links above from Amazon has more details on real world case use of Java and sort of makes the case why knowing Java=being able to put for on your table .
This is also a cool reference on Netflix and their use of Java.
https://blog.bytebytego.com/p/evolution-of-java-usage-at-netflix
Netflix pioneered use of Java for streaming videos and the Java Web developer course offered by Udacity goes more into details about programming with Java by Netflix and the whole story of how they started use and perfect use of Java as core for their backend.
It sounded like you are looking to do more backend stuff vs building simple web pages..that's why I highly recommend gaining exposure to Java.
Good Luck and stay motivated 👍👍
1
2
u/JaecynNix Apr 12 '24
If you're understanding how Python works and are able to code in it, keep going with that until you've learned the basics in and out. Don't jump to another language yet.
2
u/clinkyscales Apr 12 '24
I think ultimately it wouldn't hurt because if nothing else it might enable you to think about/approach problems differently when trying to find a solution. (not saying this is you) I would say that to someone that doesn't understand programming their probably not much different other than one is slightly less readable. With python it looks a little bit more readable but over all I don't think java is too bad. it was the first thing I learned
2
1
u/AutoModerator Apr 12 '24
It seems that you are looking for resources for learning Java.
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
Your post remains visible. There is nothing you need to do.
I am a bot and this message was triggered by keywords like "learn", "learning", "course" in the title of your post.
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
1
u/JLCoffee Apr 12 '24
one language is good enough move on when you master it, learn Solid Principles and Algorithms. All POO have similar structures so if you know your principles and you know how to solve the common issues (Algorithms) you are good to move in any language.
Don't base your learning path on languages, base it on building stuff.
1
u/Codepressed Apr 12 '24
It's more boring, but you can use Java to build software like report generators (JasperReport) and similar utilities that companies use on a daily basis and are developed in Java, they're often moved to a web environment but could be used also as desktop app
1
u/Familiar_Factor_2555 Apr 13 '24
Java is really a great choice as you can develop web, mobile an dnative desktop apps.
For mobile - you can learn Kotlin too.
For creating GUI, learn Swing, FlatLaf UI to build some projects. if u want to transition into web - SpringBoot is your choice. But developing solely in Java would take time.
1
u/glablablabla Apr 13 '24
Some desktop apps and some Mobile apps are also developed with java. You could learn it if that interests you. The majority of java code is written for backend servers. Programming in that field can be very fun and if you write idiomatic code and comply with best practices it can also be very simple. I would really recommend choosing the backend webdev software engineer career. Have fun and happy coding!
1
u/noukkkk Apr 13 '24
I only started java because my brother recommended it to me, he also works as a programmer and he gave me a course from which he learned. I also want to work like him so im following his steps, the course is java programming from moocfi.
1
u/God_of_failure Apr 13 '24
C, Java, C++, and Go are all great choices for first languages. C might be the better choice because of simplicity and low-level programming concepts. I would t recommend Python though, for many reasons. Unless you come from a non CS background and are also aiming to work in something other than Software Engineering.
1
u/NaughtySnoodle Apr 15 '24
Recommending C to the guy who wants to jump ship from python and has difficulty programming with web technologies is- well I don’t know much about C but sounds like a death sentence💀
1
u/tech-nano Apr 14 '24
Udacity has a free Java course which I would take if I was a fresher then once you know core Java you can dip your toes in Java SpringBoot. Udacity has a course called Java Web developer that is dated last time I checked but the structure and content is solid. It's way over priced but if you catch it on sale, I think they do a very good job teaching Java for backend uses.
You can also take Java at a community college.In 3 months you'll know core Java and have solid practice from the hws and projects you do in class.
Good luck.
1
u/Ok_Ad3621 Apr 14 '24
It got me a big job in IoT Telecom. 2 weeks ago. Started learning 8 months ago. Anything is possible.
1
u/Necessary_Hope8316 Apr 14 '24 edited Apr 14 '24
If you are learning OOP do it in java/C# pls. I learnt python first and I would never make the mistake of learning OOP in python.
Edit: I wouldn't rush into OOP now. Just try learning data structures and algorithms while trying to come up with your own implementations in python👀..
1
u/adithya47 Apr 17 '24
What? But why?
1
u/Necessary_Hope8316 Apr 17 '24
You mean why use java instead of python to learn OOP?
Python has too much abstractions (especially for OOP) and you really can't envision the concepts you learn In OOP using python. Java or C# is better languge to correctly learn and understand OOP.
If you do this properly, OOP in any other language is easy to understand with this knowledge because base concepts are same.
1
u/erebrosolsin Apr 15 '24
Good luck on your journey to learn Java. However, I think if you are interested in Big Data, data science or analytics you should stick with Python
1
u/Remarkable_Today9135 Apr 18 '24
Python is a great language to learn Programming and Computer Science in general.
Build as many different things with it as possible, doing that will help you learn what it can do and how to do things properly.
Once you feel confident in your Python skills, pivot to another language and try to apply what you learned.
C# is good, all you need is the dotnet SDK and vscode - for any platform - and you're good to go.
I don't know how to get started with Java these days. When I first learned it, it was easy, but today it looks like there are too many different ways do it and all of them look like starting points toward the ever growing technical debt that comes with learning Java.
1
u/sweetno Apr 12 '24
Java is pretty good. However, there is a lot of outdated materials in wide circulation.
-12
u/i-m-p-o-r-t Apr 12 '24
The only thing worse than programming in Java is using programs developed in Java. (Aside from jetbrains products, they run well enough)
6
-6
u/Remarkable_Today9135 Apr 12 '24
there are two reasons why people code in Java:
they are required to for their job,
they've convinced themselves (for whatever reason) that they like it, in order to keep their sanity, because coming to grips with how bad it is compared to other languages would destroy them with regret for wasting so much of their life
5
-4
u/EdiblePeasant Apr 12 '24
What makes Java good when we have C#?
1
u/N-M-1-5-6 Apr 17 '24
A less "kitchen sink" and more thoughtfully planned platform API (over the last decade)
A better performing virtual machine on multiple OS s
A very open and developer-focused language development process
A better range of support options (including by Microsoft as of recently)
A much larger and more seasoned developer/library/project base out there
Less juvenile "fanboys" and more rational users who understand that it's the functionality and not the flash that gets things accomplished
That's my experience as a software engineer that wants to get things done on my work projects and be involved in the ecosystem in my personal time.
The above is not meant too put down other languages... Just to speak up for Java. People should be open to trying out multiple languages and weighing them fairly. For me, Java is one of the better choices for the primary areas of development that I tend to work in.
More specifically to the previous message though... I'm happy to see .NET and C# improving overall. It's come a long way from mostly being a JVM/Java clone. I'm just not as thrilled with the WAY it has added on features over the last few years.
0
Apr 12 '24
[deleted]
1
u/adithya47 Apr 29 '24
How many Concepts there are just so many Can you tell me what are those concepts or any resource I heard neet code is good but its just dsa questions Any help would be great
0
Apr 29 '24
[deleted]
1
u/adithya47 Apr 29 '24
I did learn them but how do i know if im good at it after learning a few concepts. I cant start a project or keep solving question on the things i learnt...knowing that there are more stuff to learn...i kept solving question on the same topics.got stuck in tougher questions so i jump back to same concepts again..couldnt move forward... also im learning ml algorithms and deep learning stuff so i am just frustrated that i couldn't learn anything properly...
0
•
u/AutoModerator Apr 12 '24
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.