--- Begin Message ---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.ris...@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 >
--- End Message ---
Re: [Pharo-users] Why single inheritance?
Cameron Sanders via Pharo-users Wed, 28 Jan 2015 09:32:39 -0800
- [Pharo-users] Why single inheritance? Laura Risani
- Re: [Pharo-users] Why single inherita... Clément Bera
- Re: [Pharo-users] Why single inherita... Damien Pollet
- Re: [Pharo-users] Why single inherita... Cameron Sanders via Pharo-users
- Re: [Pharo-users] Why single inherita... Cameron Sanders via Pharo-users
- Re: [Pharo-users] Why single inherita... Ben Coman
- Re: [Pharo-users] Why single inhe... Laura Risani