![](https://rblind.com/pictrs/image/65dca91c-dc2f-4373-ab2d-3e7ce631e80f.png)
![](https://programming.dev/pictrs/image/170721ad-9010-470f-a4a4-ead95f51f13b.png)
That’s the thing though, isn’t it? The devs on either side are entering into a contract (the API) that addresses this issue, even if by omission. Whoever breaks the contract must rightfully be ejected into the stratosphere.
Opinions are my own. Profile picture description: Black on white pictogram with a D20 showing 20 for a head and a game controller for a body and arms, holding a white cane.
That’s the thing though, isn’t it? The devs on either side are entering into a contract (the API) that addresses this issue, even if by omission. Whoever breaks the contract must rightfully be ejected into the stratosphere.
Thanks for the transcription!
Surely Java can tell the difference between a key with a null value and the absence of that key, no?
I mean, you can set up your deserialization to handle nulls in different ways, but a string to object dictionary would capture this, right?
Because they didn’t want to train their JS developers and didn’t want to cause friction for new projects. They get to say they’re using TS, with basically none of the real advantages. (Apart from general rational error checking.)
[sits quietly in the corner]
Yes, but did you get the job?
Also props for the image description.
Yeah, I’m all about Jetbrains in Night theme. Thanks for the alt text, by the way.
First it needs to work, then it needs to work well, and finally it may or may not work quickly. Along the way, it should also be humorously weird.
Why not ‘i’?
I decided to be wrong because the correct joke would be too convoluted. I’ll work on that implementation and then you can inject it at runtime via reflection.
Would you like a snake to replace your camel?
Self-documenting code, high contrast… Carry on.
I don’t know, at least ‘SetPerformance()’ could throw an argument out of bounds exception.
Perfect! Don’t forget to assert the same exception in all the tests.
I smell a NotImplementedException somewhere.
But the only way to make a single is to split a double. It just can’t be done.
Every time I go into the office we take like 5 coffee breaks throughout the day. Some coworkers have switched from pods to espresso machines to bring down the cost per cup.
Is it just my team? I feel like this is pretty common.
I’m gonna go find an SRE to hug, it sounds like they need it.
You joke, but that’s how a lot of the stuff I work on is documented. Passed along from one developer to the next - legends, really.
I was not prepared for this. I came here for jokes.
I think we’re fully in agreement here: if the API doesn’t specify how to handle null values, that omission means they’re perfectly valid and expected.
Imagine a delivery company’s van exploding if somebody attempts to ship an empty box. That would be a very poorly built van.