Mark
02/22/2021, 3:43 AMAdam Powell
02/22/2021, 3:52 AMMark
02/22/2021, 3:52 AMAdam Powell
02/22/2021, 3:54 AMMark
02/22/2021, 3:56 AMAdam Powell
02/22/2021, 3:56 AMAdam Powell
02/22/2021, 3:57 AMMark
02/22/2021, 4:02 AMval foo
inside a constructor?Mark
02/22/2021, 4:04 AMinit
block.Adam Powell
02/22/2021, 4:13 AMAdam Powell
02/22/2021, 4:14 AMMark
02/22/2021, 4:19 AMinit
block issue, makes me think using constructor args would be a better default, and then use ‘compelling reasons’ to use abstract vals. Having said that, I like the flexibility of being able to do choose between putting override val
in the constructor or body of the subclass.Adam Powell
02/22/2021, 4:43 AM