News for hackers. Stuff that matters.
Re:One self is not enough by philwelch on Thursday June 21, 2012 @02:31AM (#4140810)
Here I was hoping that someone had a crazy idea for a new OOP paradigm....
Re:One self is not enough by gioele on Thursday June 21, 2012 @05:07AM (#4141106)
Same here: I thought somebody proposed the use of different _self_ objects in Ruby procs to differentiate between the original containing object and the calling containing object.
Re:One self is not enough by SimHacker on Thursday June 21, 2012 @08:19AM (#4141591)
Well JavaScript has "this", but also "var self = this;" to work around its horrible design flaw with closures.