
25 May
2021
25 May
'21
5:56 p.m.
if you want it for debugging, then static type checkers can do that for you.
2) This would allow another branch of OOP programming to enter Python.
Read-only member variables. There are Private members in Java and C++.
Then use Java or C++ -- the benefits of Python are not primarily the syntax, but it's dynamic nature.
Though this does bring up an interesting (to the ignorant of most things typing me) question: Do the static type checkers support the concept of private attributes?
That might be a nice feature.
-CHB
----- Chris Barker Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython