News for hackers. Stuff that matters.
Re:Interesting features from various modern programming lang... by kd5bjo on Friday November 10, 2017 @12:38PM (#15671479)
Python is pretty close to this. Assuming that foo is an instance of class Bar,

foo.method(x)

Is equivalent[1] to

Bar.method(foo, x)

[1] in the absence of monkey patching on foo

There are no comments on this comment yet.