r/Python • • Nov 13 '20

News Python swallows Java to become second-most popular programming language

https://www.theregister.com/2020/11/12/python_swallows_java_to_become/
2.3k Upvotes

205 comments sorted by

View all comments

26

u/BigTheory88 Nov 13 '20

As great as Python is, it's just not going to cut the durability of software you can write with Java.

17

u/mooburger resembles an abstract syntax tree Nov 13 '20

define "durability"? One of the aims of the Python style guide (PEP8) is enforcing readability and maintainability.

1

u/maikindofthai Nov 14 '20

When I think of "durability" WRT a programming language, the types of things covered in a style guide aren't really what comes to mind...

I think of things like the strictness/explicitness of the type system, how robust the error handling is, what the runtime and its backwards compatibiilty story looks like, what the dependency/tooling ecosystem looks like, etc. Python fares well in a few of these categories, but if you're writing a large application with a team of developers, Python makes it a whole lot easier to make a giant mess of things than something like Java.

Python's a tool like any other programming language -- it's not always going to be the best one for the job.

1

u/mooburger resembles an abstract syntax tree Nov 14 '20

The whole philosophy behind python data structures and methods is runtime typing/late binding. It's an entirely different way of thinking from compile time strong typing. In fact, other languages are starting to use it, not just the entire ECMAScript ecosystem but even .NET implemented duck typing shim in order to reduce interface and getter/setter boilerplate. With great freedom comes great responsibility, why should the language be restricting you?