help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Welcome to the "help-smalltalk" mailing list (Digest mode)


From: Tommy Pettersson
Subject: Re: Welcome to the "help-smalltalk" mailing list (Digest mode)
Date: Fri, 24 Jun 2022 18:29:59 +0200

On Thu, Jun 23, 2022 at 03:31:05PM +0000, Luis L wrote:
> Is it preferable to return super init rather than just have
> it as a statement in the initialization method and allow the
> implicit self to return?

Hi Luis,

I think it is just a matter of style. I would personally not
code initialization that way unless I had a good reason to.

A very good book, in my opinion, on how to structure
Smalltalk code is Smalltalk Best Practice Patterns by Kent
Beck.

/Tommy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]