Skip to content

Instantly share code, notes, and snippets.

@rauschma
Last active April 8, 2018 02:26
Show Gist options
  • Save rauschma/c0d1fc33a756febcb9a7 to your computer and use it in GitHub Desktop.
Save rauschma/c0d1fc33a756febcb9a7 to your computer and use it in GitHub Desktop.

The term protocol is highly overloaded in computer science. One definition (related to the concept of “metaobject protocol”) is:

A prototcol is about achieving tasks via an object, it comprises a set of methods plus a set of rules for using them.

Note that this definition is different from viewing protocols as interfaces (as, for example, Objective C does), because it includes rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment