Hi guys I was doing a little bit of reading and playing around with the kotlin language. I still can't figure out why would anybody use null checks over safe calls?
Safe calls would just return a null value if the value is null, this won't crash your app. Null checks on the other hand would raise a nullexceptionerror if the value is null. I have tried searching for the reason to use one over the other, but I can't find any resource about that.
Is there a reason to use safe calls over null checks and vice-versa?