"Python or Java?"
Neither. Start with JavaScript instead.
I know all three and use them in my work. There are projects where I have to use them all to piece together disparate technologies and libraries.
If the purpose is for work, you will always find a job that requires Java, Python, or JavaScript.
When it comes to machine learning and data science, Python dominates the scene by a huge mile over Java and JavaScript. The tools and libraries are far easier, simpler, feature-rich and ready to use in Python.
When it comes to enterprise services, you'd find Java dominates that over Python. There's a lot of enterprise systems and APIs written in Java. Nowadays newer languages are competing against Java in that space.
So why JavaScript instead? You can write both frontend, backend, enterprise, and machine learning solutions with JavaScript. It's a jack of all trades. It's also easier for beginners to produce visually appealing results using just a browser (though this might be a subjective). Neither Python or Java can claim that. Whether you go with Java or Python, if someone asks you to display or interface your results through a browser, you'd end up working with JavaScript on the frontens side and tying that up with Python or Java on the backend side. In terms of practicality and time, start with JavaScript. You are bound to need it anyway. Later on you can study Python or Java or better yet just go all the way with JavaScript.
The biggest downside with JavaScript is the need to be always on top of the latest trends in JavaSxript. There's too much activity and new framrworks always pops up left and right. Python and Java are relatively stable when it comes to changes.
Neither. Start with JavaScript instead.
I know all three and use them in my work. There are projects where I have to use them all to piece together disparate technologies and libraries.
If the purpose is for work, you will always find a job that requires Java, Python, or JavaScript.
When it comes to machine learning and data science, Python dominates the scene by a huge mile over Java and JavaScript. The tools and libraries are far easier, simpler, feature-rich and ready to use in Python.
When it comes to enterprise services, you'd find Java dominates that over Python. There's a lot of enterprise systems and APIs written in Java. Nowadays newer languages are competing against Java in that space.
So why JavaScript instead? You can write both frontend, backend, enterprise, and machine learning solutions with JavaScript. It's a jack of all trades. It's also easier for beginners to produce visually appealing results using just a browser (though this might be a subjective). Neither Python or Java can claim that. Whether you go with Java or Python, if someone asks you to display or interface your results through a browser, you'd end up working with JavaScript on the frontens side and tying that up with Python or Java on the backend side. In terms of practicality and time, start with JavaScript. You are bound to need it anyway. Later on you can study Python or Java or better yet just go all the way with JavaScript.
The biggest downside with JavaScript is the need to be always on top of the latest trends in JavaSxript. There's too much activity and new framrworks always pops up left and right. Python and Java are relatively stable when it comes to changes.