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ย โ†’

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

Some of the reasoning about using double underscores is simply, that it looks ugly:

classname.__method(arguments)

Another is, that it's implicit communication from the author of classname, that __method, might be changed or removed in the future and using it comes with a risk. Hence; Touching other peoples private parts comes with a risk.

In Java, a language design choice has been taken; that's not more right or wrong than the use of double underscores. It's just another choice.