3 ms·
The author wants: True private and protected class members (restrained by the compiler), static type checking, interfaces, and he wants to make good use of abst
by flavio81 9y ago
The author wants: True private and protected class members (restrained by the compiler), static type checking, interfaces, and he wants to make good use of abstract classes.
The author wants to do Java in Python. He should better use Java! Java has all that, it is significantly faster than Python, it has even more libraries, it is easy to learn, it has great IDEs and a lot of codebase and support. Java 8 even has a sort of anonymous function support.
My point is -- if you use Python then you need to take advantage of its differences, instead of wanting to type code exactly as in other language. Kind of makes me remind of the clever one-liner on "Real Programmers Don't use Pascal":
FORTRAN programmers can write FORTRAN code in any language.
Mind you, Java is my least favorite programming language, but if I wanted to make use of all those features, i'd be choosing Java or C#, easily, no-contest there.
- coldtea 9y ago>The author wants: True private and protected class members (restrained by the compiler), static type checking, interfaces, and he wants to make good use of abstract classes. None of which (and not even all together) were first, exclusively, or specially in Java. And none of which are what make (or made, circa J2EE/EJB/XML craze) Java painful. >My point is -- if you use Python then you need to take advantage of its differences, instead of wanting to type code exactly as in other language. Sure, but those differences have to be different for good reason, not just because "well, that's what Python offers". Else one is justified to criticize them.