Hacker News new | ask | show | jobs
by fzltrp 4601 days ago
Note that it also becomes easier when class types (generally speaking) are available.

Also, one interesting aspect of interfaces is that they act as tags, allowing for stricter formal contract checking (as in: am I registering a function to this Observable which is meant to deal with its events, or is it just a coincidence that the function signature matches?).