3 ms·
> This is a trivial example of a null handling situation. Nevertheless, the only way to know what will happen is to try it out because it really depends on the
by ehartsuyker 12y ago
> This is a trivial example of a null handling situation. Nevertheless, the only way to know what will happen is to try it out because it really depends on the programming language and the compiler we use. Ask any experienced Java programmer and you will see that most of them (me included) will struggle to predict the actual behaviour without hesitation.
Yes, because what I want to do is waste my time figuring out what happens when I apply functions to null values.