Campbell Ritchie wrote:
Durim Kryeziu wrote:. . . to use Optional properly on the method return types etc ?
Thanks
And what will happen if you change the return types of methods in a public API?
I meant newly created methods, maybe I stated it wrong, I meant like, if before I wrote a method like this and that, from now on, it's better to write it this way (with Optionals in this case)! Now I think you got the idea what I meant with that