Hacker News new | ask | show | jobs
by jayd16 1658 days ago
It does feel a bit like we're trying to monkey patch compiled code but the benefits are pretty clear.
1 comments

I would argue pretty strenuously that this is not what is being done.

The sockets layer is becoming a facade which can guarantee additional things to applications which are compiled against it, and you've got dependency injection here so that the application layer can be written agnostically and not care about any of those concerns at all.

Well ok, but the dependency inject is not statically checked in this case, its changed dynamically, perhaps while the application is running. Is that not similar to a monkey patch?