Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Reactive Extensions for Ruby. Parent comment
Observable.throw(Exception.new("woops!")).subscribe(Class.new(Observer) do [...] end.new)
Even if the method were named sanely and consistently `Observable::on_error`, I still don't want to write code like the above.
BTW, I don't see any class variables in the re-opened Enumerable module.
Yes, the code looks like it is directly taken from Java/C#.
Even if the method were named sanely and consistently `Observable::on_error`, I still don't want to write code like the above.
BTW, I don't see any class variables in the re-opened Enumerable module.