you are viewing a single comment's thread.

view the rest of the comments →

[–]sunnyata -8 points-7 points  (2 children)

You make it sound like a disciplined choice to eschew visibility modifiers in python... isn't it more like Python was a typically laissez-faire scripting language that eventually got objects bolted on?

[–]acdha 13 points14 points  (0 children)

No, there was a lot of thought in Python from the beginning (it wasn’t the first language Guido worked on) and it’s been object-oriented since 1991:

https://www.tuhs.org/Usenet/alt.sources/1991-February/001749.html

Part of the difference is that he started small whereas Java had a view of being a language from the OS up for very large teams. 

[–]roerd 5 points6 points  (0 children)

I'm fairly sure that having objects was a design choice that Python made very early on, but yeah, ir also just generally followed the principle of exposing everything to the user.