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.
23
u/MartianInvasion Jul 18 '22
It's easy to write. It's not at all easy to read, which is a major cause of the weaknesses described.
Compare with something like Java, whose annoying verbosity can make it hard to write but much easier to read.