Join Slack
Powered by
It depends on your use case, but rule of the thumb...
# codereview
d
dave08
06/28/2018, 5:57 AM
It depends on your use case, but rule of the thumb is when you riddle your code with too many ifs on a certain state or condition, consider splitting the class instead... sealed class is mainly helpful in exhastive `when`s.
2
Views
Open in Slack
Previous
Next