Jan. 28, 2015
5:31 p.m.
Because smalltalk methods require so little code that overt-delegation is both easy to author and to understand. If on the other hand, one needs to repeatedly tell the compiler what types of data shall be used used, and then insert numerous delimiters, such delegation becomes onerous... and ... then one would beg for a compiler solution. -cam On Wed, Jan 28, 2015 at 10:41 AM, Laura Risani <laura.risani@gmail.com> wrote:
Hi all,
What is the explanation why Smalltalk designers preferred single inheritance+traits to multiple inheritance? Why is the former better than the latter? Do traits let you share state also or only behavior?
Best, Laura