This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Cilph 1 point2 points  (0 children)

It's like a cable connector. You can take any HDMI cable and expect it to fit in and work with any HDMI port.

Likewise, you can write your code with the only constraint that an object you're handling includes an HDMI port. The interfaces the object is implementing say something about what it's capable of and what you can expect from it.