3 ms·
The idea here isn't to replace every T with Option[T]. The idea is to locate the places where incoming data might be absent and handle it there, so that the oth
by fusiongyro 14y ago
The idea here isn't to replace every T with Option[T]. The idea is to locate the places where incoming data might be absent and handle it there, so that the other 90% of your code can just use T with wild abandon. Like most methodologies, if you do it wrong it will be a fiasco and if you do it right it won't be so bad.