79531300

Date: 2025-03-24 14:16:51
Score: 1
Natty:
Report link

Discriminated unions allow you to encode a closed set of variants (which is what you're doing with the sealed class in Kotlin).

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Matt Kantor