Marcin Wisniowski
10/11/2023, 9:20 AMPriyabrata Naskar
10/11/2023, 9:28 AMMarcin Wisniowski
10/11/2023, 9:33 AMhho
10/11/2023, 9:53 AMif
are enough to make the when
exhaustive.
And TBH, if I saw this code in a review, I would tell you to use either an if
or a when
here, but not both…Marcin Wisniowski
10/11/2023, 9:57 AMif
and when
useless. The real code needs it.ascii
10/11/2023, 10:09 AMMarcin Wisniowski
10/11/2023, 10:18 AMspleenjack
10/11/2023, 10:40 AMMarcin Wisniowski
10/11/2023, 10:44 AMokarm
10/11/2023, 3:09 PMnew *
source annotation in the screenshot?