Roman Elizarov
1 min readFeb 20, 2019

--

Adding Optional to Java does not fix its null problem in any way. In Java null enhabits even an Optional<String>, which is a mistake I’m writing about. For languages that do not have this null problem adding Optional type makes sense, especially when they combine it with a special T? syntax, which makes sense, because it is commonly used.

--

--

Roman Elizarov
Roman Elizarov

Written by Roman Elizarov

Project Lead for the Kotlin Programming Language @JetBrains

Responses (2)