News for hackers. Stuff that matters.
Re:Perl 5.26.0 released by cutler on Thursday June 01, 2017 @08:58AM (#14459836)
Re:Perl 5.26.0 released by falsedan on Thursday June 01, 2017 @10:20AM (#14460428)
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 selfs
Re:Perl 5.26.0 released by cyphar on Saturday June 03, 2017 @10:21AM (#14476489)
There 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.

Re:Perl 5.26.0 released by falsedan on Thursday June 01, 2017 @01:00PM (#14462095)
…is the answer 'the downvotes module'?
Re:Perl 5.26.0 released by falsedan on Saturday June 03, 2017 @05:49AM (#14475654)
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.
Re:Perl 5.26.0 released by cyphar on Saturday June 03, 2017 @10:24AM (#14476498)
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.