(Medium) The Role Of Affordance In Software Design
This article is too short to generate a summary.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| class MachineGun { | |
| open(bottle) { | |
| alert('*Opening A Bottle With The Machine Gun*'); | |
| } | |
| shoot(enemy) { | |
| alert('*Shooting The Machine Gun Against The Enemy*'); | |
| } | |
| } |