5 ms·
It has to be something like that, because no two languages on this planet differ that much in code size without counting library stuff.
by fauigerzigerk 11y 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.
- nolok 11y agoSorry to be pedantic, but I'm sure a Brainfuck (or other similar languages) version would differ at least by that much
- rbanffy 11y ago6:1 seems to be in the Java to Python range, specially if you do a lot of getters and setters.
- fauigerzigerk 11y agoThat'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.