Hacker News new | ask | show | jobs
by braythwayt 4035 days ago
This kind of thing is particularly elegant in CoffeeScript:

    Object.assign Connection.prototype,
      hostname: memoize () -> @host.getRemoteName()