3 ms·
Nonsense. Obviously if you make every single value in your program with an option then you have the same problem as if your language had null. But the differenc
by lmm 8y ago
Nonsense. Obviously if you make every single value in your program with an option then you have the same problem as if your language had null. But the difference is that in a language that has optional types, it becomes practical to have values that aren't optional. And for values that really are meant to be optional, you don't use the "get value" functions (which really shouldn't exist at all), you use functions that handle both cases.