Hacker News new | ask | show | jobs
by disgruntledphd2 1405 days ago
One case where I (ab)used this in R was to add an abstract class called Timed that measured the time the inner function took.

I guess I'd probably use a decorator in Python but this was R and I was on an S4 buzz back then so I took the approach above.