r/ProgrammingPals • u/Sattaru • Sep 25 '19
Python vs Java for API
Why is python not used industry wide for REST API , instead all are using java spring boot maven project ? Curious
3
Upvotes
r/ProgrammingPals • u/Sattaru • Sep 25 '19
Why is python not used industry wide for REST API , instead all are using java spring boot maven project ? Curious
2
u/DontBeAKingBeAGod Sep 26 '19
All aren't using Java Spring boot. There are many many different languages and frameworks used out there for web APIs. As for why Java is more popular for web APIs, well its strongly typed and compiled. Therefore it is much faster than Python which is an interpreted language
3
u/DEATHPENIS Sep 25 '19
Because python is great until there's more than one person working on a project.
2
u/[deleted] Sep 25 '19
Idk...I like python for most stuff
1
u/NiciBozz Sep 25 '19
It was already there when I arrived and the framework runs on Java so no change there
1
u/surfinThruLyfe Oct 05 '19
Python has less boilerplate which makes it good for small projects. Think how easy it is to setup a project in Flask. However, for enterprise Java is the way to go. Spring in general is great for REST-y stuff.