Tim Holloway wrote: — I cannot count the number of times in Python I've burned myself for not prefixing an identifier with "self" where "this" would be optional in C++. But there you have it.
Campbell Ritchie wrote:Java® was designed specifically as an object‑oriented language. That is why it doesn't support methods outwith classes (or more precisely didn't before default methods in Java8).
Tim Holloway wrote:This sort of question is kind of like the perennial "buy or rent?"
Tim Cooke wrote:There are other technical considerations when choosing one solution over another, so I'd still be interested to find out what "better" means to you?