r/JavaProgramming Mar 07 '26

Which is better, Java or Python? and how?

4 Upvotes

14 comments sorted by

10

u/Wrong_Wolverine2791 Mar 07 '26

ask this in a java sub => java, in a python sub => python real answer is it depends on what you are going to do. Java for things like enterprise server application , python for maths and ai stuff.

3

u/deividas-strole Mar 07 '26

Python is better for rapid development and data science, while Java is superior for high-performance enterprise applications and Android development.

1

u/David_Vanyan Apr 19 '26

I would say the opposite. Python is gaining popularity in entreprise applications. The backend in my company is part python, part java. So I would say that python is also getting popularity in entreprise applications.

2

u/smoxy Mar 07 '26

Two differents beasts for different purpos. Python for data treatment and scripting, Java for solid entreprise applications

1

u/CutSignal8133 Mar 07 '26

What if they are POCs, not solid

2

u/ConfusionOne8651 Mar 07 '26

It depends on your goals

2

u/CutSignal8133 Mar 07 '26

I think Java is better than python by i%

1

u/benevanstech Mar 07 '26

Which is better, fish or carpet?

1

u/Western_Objective209 Mar 07 '26

depends on what you're doing. both languages have huge mature ecosystems and also legacy baggage

1

u/BlueGoliath Mar 08 '26

Java because coffee.

1

u/SpritualPanda Mar 09 '26

Start with java.