|
|
|
|
|
by riffraff
1059 days ago
|
|
The article is claiming that the surface and the implementation are related. If client code passed a null value before, an error would have occurred. Now it is handled with a default that the original code was not accounting for, and this might be bad. Thus the change in interface _is_ a change in behavior. |
|
Old situation: called function says: "i would crash if you gave me a null value, so my interface says you cannot give me a null value"
New situation: called function says: "i no longer crash if given a null value, which you couldn't do before anyway, so you won't notice any difference"