Re:Perl 5.26.0 released
by cutler on Thursday June 01, 2017 @08:58AM
(#14459836)
http://modulecounts.com
[ Parent
| on HN ]
Which python module lets me declare object methods like:
method foo(bar):
self.do_foo(bar+self.baz)
? Because I get tired of all those selfsThere isn't one, because "explicit is better than implicit". Personally I've always found that Java's optional-self syntax to be incredibly confusing when reading code.
You could try to monkeypatch it by creating a decorator that will mess around with the closures of methods to make it work, but I don't understand _why_ you would want to do that.
β¦is the answer 'the downvotes module'?
Downvoters: ok I get it: never post anything that's not a glowing recommendation of Python or an attempt to learn more about available modules/distributions.
Complaining about downvotes won't get you any praise in this community. It comes off as whining and is against the guidelines:
> Please resist commenting about being downvoted. It never does any good, and it makes boring reading.