Y
Hacker News
new
|
ask
|
show
|
jobs
by
andrekandre
2117 days ago
how does smalltalk use protocols? is it more ad-hoc like "responds to selector" or something else?
1 comments
pjmlp
2117 days ago
That 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.
link
andrekandre
2116 days ago
forgot about pharo, yes it has traits (protocols)
link
Pharo also offers traits, not sure if Cinacom and Dolphin also do it.