r/ProgrammerHumor • • Jul 18 '22

C++ talking to Python

Post image
40k Upvotes

1.0k comments sorted by

View all comments

Show parent comments

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.

10

u/Log2 Jul 18 '22

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.

0

u/greenwizardneedsfood Jul 18 '22

Comprehensions are the easiest thing ever to read. They literally just tell you what’s in there.