What about adding a new stdlib type to kotlin? A m...
# announcements
n
What about adding a new stdlib type to kotlin? A more real-world boolean datatype:
Copy code
enum NewBoolean {
  Fact,
  AlternativeFact
}
👍 4
r
While I recognize the usefulness in implementing more modern practices, I still prefer
Copy code
enum class Boolean {
    TRUE,
    FALSE,
    FILE_NOT_FOUND
}
👍 1