3 ms·
how does smalltalk use protocols? is it more ad-hoc like "responds to selector" or something else?
by andrekandre 6y ago
how does smalltalk use protocols?
is it more ad-hoc like "responds to selector" or something else?
- pjmlp 6y agoThat is one way, informal use of categories, if we limit ourselves to Smalltalk-80 and Squeak. Pharo also offers traits, not sure if Cinacom and Dolphin also do it.
- andrekandre 6y agoforgot about pharo, yes it has traits (protocols)