8 ms·
Its horrible getting into a new Python codebase and seeing that it has been written by a Java programmer.
by collyw 8y ago
Its horrible getting into a new Python codebase and seeing that it has been written by a Java programmer.
- jernfrost 8y agoAs an iOS developer I so hated getting into Objective-C code written by Java developers. They really don't get the principle of dynamic languages and they are too fond of making shitloads of classes for everything.
- 3rdAccount 8y agoI've seen short python programs (5 pages of code) mutilated with over architecture and boiler plate from a Java dev. The great thing about python is that short scripts of a few pages don't necessarily need a class if you're doing something super basic.
- collyw 8y agoAgreed. An ex Java guy I was working with asked me how yo do a singleton in Python. I had to google it because I had never thought of the problem before. As the answer said a module with functions is essentially a singleton. No need to overcomplicate things.
- BjorksEgo 8y agoah, a python code base I worked on once (>100KLOC) had the misfortune of mostly being written by a java programmer, he actually included getters and setters in every class, actually going as far make extensive use of metaclasses to autogenerate getters and setters for all the domain class. nightmarish system.