Re:A bite of Python
by marklgr on Thursday September 08, 2016 @08:21AM
(#12452286)
It's so crude that, again, it looks like implementation details having been promoted to specs. Field visibility and name mangling done with very magic underscores just doesn't look right, to me.
[ Parent
| on HN ]
> Field visibility
It has nothing whatsoever to do with field visibility.
The single leading underscore?
Is conventional, it doesn't do anything at the language level.
Which is my point, it's still roll-your-own, with some magic when necessary. I don't want to make a fuss about it, I mean, it's great for tinkering or small projects, but I prefer when my compiler works harder for me and actually enforces what is intended (bar some runtime reflection for very special cases).
Re:A bite of Python
by ubernostrum on Thursday September 08, 2016 @03:51PM
(#12456666)
Or it's just a philosophy that you happen not to like, which doesn't make it objectively bad or wrong. There's room for people to have different tastes and preferences.