2 ms·
Checking if the optional is present is very similar to checking for NULL values. Now if you have a nice match statement like rust and lambda functions for strea
by MichaelMoser123 8y ago
Checking if the optional is present is very similar to checking for NULL values. Now if you have a nice match statement like rust and lambda functions for streams, that may make things a bit more readable.
You will still need analysis tools to check that all code paths check for none before accessing that value ..