News for hackers. Stuff that matters.
Re:Goenums: Type Safe Enum Generator for Go by sureglymop on Sunday April 27, 2025 @02:15PM (#43813970)
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.

There are no comments on this comment yet.