34

I'd love to tell the guy who invented *null*: "Thanks for nothing!"

Comments
  • 7
    Interestingly, null is a value that represents a missing value. But it’s still a value. Kotlin (and other programming languages) has a Nothing type that truly represents nothing. It’s a type that has no values. You can’t pass Nothing nor return Nothing. But you can pass or return null. So, we have Nothing to thank for nothing. Null is just nothing but something. 🙂
  • 4
    @Lensflare lol, low key sounding philosophical at this point. 😂
  • 1
    @Lensflare ah I see. And then there we have JavaScript with foam at its mouth introducing the poor man's "nothing" - "undefined".
  • 0
  • 0
    Your information is very clear.
  • 2
    @cafecortado I always have a hard time believing the brilliant man who gave us the quick sort also gave us null.
  • 2
    @tiltedpanda I guess he's human after all.
  • 0
    you must thank someone in babylon

    that someone lived aroud 300 bc, so he does not care anymore about your gratitude
Add Comment