https://kotlinlang.org logo
g

gildor

07/11/2017, 8:58 AM
I’m against this feature. Better to implement own “Simple” implementation with dummy values instead language pollution with “empty” keyword and with so inflexible behaviour ( 0 for numeric value, false for boolean and “” for String). It just doesn’t worth it, IDE can generate such dummy implementation in one second by code generation and one more second to extract class to a separate file
👍 5