If I have an `enum` class, is it better to declare...
# codingconventions
l
If I have an
enum
class, is it better to declare it inside a data class (where it logically belongs) or top-level outside of the class declaration?
e
If it logically belongs to the data class, I'd put it there
l
that's what i think too. thanks @egorand
e
you want correct semantics, above all