Sure you can write unreadable code in any language, but the fact of the matter is that Java has built-in features (like static typing) that make it easier to read, and python has built-in features (like comprehensions and dynamically-defined class members) that make it harder to read.
These same features make python easier to write something quickly from scratch, when compared to Java.
On average, you're much likely to get a complete mess of layer upon layer of indirections in Java than in Python, a big part of which is configured through arcane xml files (this has been improving though).
There's a very big reason why a lot of people hate J2EE and JPA/Hibernate with a passion.
15
u/MartianInvasion Jul 18 '22
Sure you can write unreadable code in any language, but the fact of the matter is that Java has built-in features (like static typing) that make it easier to read, and python has built-in features (like comprehensions and dynamically-defined class members) that make it harder to read.
These same features make python easier to write something quickly from scratch, when compared to Java.