3 ms·
Kotlins enum classes are quite similar, probably even inspired by rust or prior ML languages. And there's `when` as an alternative to match. Kotlins syntax is
by sureglymop 2y ago
Kotlins enum classes are quite similar, probably even inspired by rust or prior ML languages. And there's `when` as an alternative to match.
Kotlins syntax is in general a bit underrated imo and I disagree that Java is up to par.