AggressivelyPassive

  • 4 Posts
  • 55 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle



  • Again, did you actually read the comments?

    Is SQL an API contract using JSON? I hardly think so.

    Java does not distinguish between null and non-existence within an API contract. Neither does Python. JS is the weird one here for having two different identifiers.

    Why are you so hellbent on proving something universal that doesn’t apply for the case specified above? Seriously, you’re the “well, ackshually” meme in person. You are unable or unwilling to distinguish between abstract and concrete. And that makes you pretty bad engineers.











  • Exactly. Simple language is a thing. And for some people it’s actually important.

    If you’re learning a language or have some form of learning disability, you simply can’t understand “real” books.

    Hell, there are books in my native language that I can barely read (Kant is about as nice as the name implies).

    The real question is: how good is it? If 80% of nuance and details are lost, it may not be of use.






  • That’s exactly not the thing, because nobody broke the contract, they simply interpret it differently in details.

    Having a null reference is perfectly valid json, as long as it’s not explicitly prohibited. Null just says “nothing in here” and that’s exactly what an omission also communicates.

    The difference is just whether you treat implicit and explicit non-existence differently. And neither interpretation is wrong per contract.