On Fri, 20 Nov 2020 09:37:19 GMT, Conor Cleary <ccle...@openjdk.org> wrote:

>> Ah, missed the final on depth :-)
>
> Any particular strengths associated with `this(0)` as opposed to the actual 
> assignment? Aside from the brevity it provides of course. Happy to modify the 
> PR to include it

My personal preference is to chain constructors whenever possible, ideally 
ending up in a single constructor that all other constructors call. This way 
the initialization logic is in a single place - instead of being duplicated all 
over.

-------------

PR: https://git.openjdk.java.net/jdk/pull/1317

Reply via email to