3 ms·
I am quite unimpressed by these arguments. This blog post is a joke filled with inaccuracies. - Encapsulation. Encapsulation in every language such as Java and
by codexon 17y ago
I am quite unimpressed by these arguments. This blog post is a joke filled with inaccuracies.
- Encapsulation. Encapsulation in every language such as Java and Python is by convention. There are always ways to break it. Even in C++. Somehow the blogger missed out on learning "__" notation.
- Batteries. Nearly all the Python libraries are pure Python files which you can edit or debug. You can even debug the C modules with a C debugger if you like since they are just dynamic/shared libraries. You can delete libraries that you never use from your installation.
- This. This is probably the only legitimate complaint, but it all boils down to syntactical sugar.
- Members. Another blatant lack of knowledge. It is possible to enforce static members with the "__slots__" metamember. You can override the default object behavior by implementing the "__getattribute__" and "__setattribute__" members to suit this blogger's preferences.
- Lambda. Another syntactical sugar complaint. Python functions are first class variables.
Conclusion: The blogger's failed attempt to bash Python reveals his own lack of knowledge about the language.