why and when were commas deprecated (in `when`)? i...
# announcements
d
why and when were commas deprecated (in
when
)? is it ok to keep using them?
h
are you talking about commas in branch conditions?
d
yes the IDE says they are deprecated
h
can you post an example?
r
If you don't use an argument with
when
, all the branches are just
Boolean
checks and you should join them with
||
.