Hacker News new | ask | show | jobs
by mweatherill 5418 days ago
Why would you want inheritance for different PDF libraries? This seems like interface to me - the DOM interfaces are an appropriate analogy.
1 comments

Quite right. I didn't express that very well. An interface is appropriate with implementations for each separate library.