Hacker News new | ask | show | jobs
by fauigerzigerk 3901 days ago
It has to be something like that, because no two languages on this planet differ that much in code size without counting library stuff.
2 comments

Sorry to be pedantic, but I'm sure a Brainfuck (or other similar languages) version would differ at least by that much
6:1 seems to be in the Java to Python range, specially if you do a lot of getters and setters.
That's a design choice, but even if you always use getters and setters in Java and never in Python, the program would have to consist exclusively of getters and setters to get you to 2:1 (or 3:1 if you count closing brace lines).

What makes Java code look bloated is a culture of overdesign, not so much the language itself.