Skip to content

Instantly share code, notes, and snippets.

@FagnerMartinsBrack
Last active August 3, 2017 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FagnerMartinsBrack/2abc4035b1cbc8f2cfdb5f092ff586ac to your computer and use it in GitHub Desktop.
Save FagnerMartinsBrack/2abc4035b1cbc8f2cfdb5f092ff586ac to your computer and use it in GitHub Desktop.
(Medium) The Role Of Affordance In Software Design
class MachineGun {
open(bottle) {
alert('*Opening A Bottle With The Machine Gun*');
}
shoot(enemy) {
alert('*Shooting The Machine Gun Against The Enemy*');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment