Awesome code of the day:
Awesome code of the day:
var
o: IObservable;
begin
o := TObservable.Create(42);
Writeln(o);
o(12);
Writeln(o);
end;
(explanation will follow later)
var
o: IObservable
begin
o := TObservable
Writeln(o);
o(12);
Writeln(o);
end;
(explanation will follow later)
Comments
Post a Comment