3 ms·
>if you just mention "assume the parameter is not null", it's more than sufficient to me. I am the same way. But some ppl seem to care about that stuff. Perhap
by dominotw 9y ago
>if you just mention "assume the parameter is not null", it's more than sufficient to me.
I am the same way. But some ppl seem to care about that stuff. Perhaps, asking in advance may help. not sure.
- cakes 9y agoI usually am explicit in saying something along the lines of "Can it be assumed that I know how to do argument null checking, if possible, and not pollute the whiteboard?" and I've gotten a "Yes" and then after writing the function on the whiteboard: "Well what about <something relating to argument nullability>?"...so you should ask but YMMV