Prothon gets Major Facelift in Vers 0.1.0 [Prothon]
Mark Hahn
mark at prothon.org
Mon May 24 12:10:01 EDT 2004
"gabor" <gabor at z10n.net> wrote
> > Does any Python user have a story of regret of using an object's
attribute
> > when they should not have and encapsulation would have saved their
butts?
>
> not exactly...
>
> i don't need restriction, only a hint...
>
> if i look thru some java code, i immediately see what variables/methods
> should/can i access... it's not the same for python...
>
> for example at work where i use java, there are classes that have
> 10-15methods, but only 4public ones... it immediately gets simplier to
> understand/use the class
I sounds to me like you want a better documentation solution, not an
encapsulation solution. Now that is something I agree with 100% and have
near the top of the list in Prothon. I personally think docs are a weak
point in Python.
More information about the Python-list
mailing list