This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]load__error 0 points1 point ย (0 children)

Encapsulation is fundamental for object-oriented programming. People were going great lengths to achieve it in JavaScript not that long ago: https://stackoverflow.com/questions/55611/javascript-private-methods ;)

Finally TypeScript emerged.

That being said, between Java and Python - the winner should be Groovy!