Meme transcription: Panel 1. Two images of JSON, one is the empty object, one is an object in which the key name maps to the value null. Caption: “Corporate needs you to find the difference between this picture and this picture”...
Sure, Java can tell the difference. But that doesn’t mean that the guy writing the API cares whether or not he adds a key to the dictionary before yeeting it to the client.
Speaking at a software conference in 2009, Tony Hoare hyperbolically apologized for "inventing" the null reference:[26] [27]
I call it my billion-dollar mistake. It was the invention of the null reference in 1965. At that time, I was designing the first comprehensive type system for references in an object oriented language (ALGOL W). My goal was to ensure that all use of references should be absolutely safe, with checking performed automatically by the compiler. But I couldn't resist the temptation to put in a null reference, simply because it was so easy to implement. This has led to innumerable errors, vulnerabilities, and system crashes, which have probably caused a billion dollars of pain and damage in the last forty years.
Speaking of rate limits: Github recently blocked me because I went over a ‘secondary rate limit’ by visiting the site for the first time in a month. Has anybody experienced this?
For Microsoft I fully understand that they’d rather have a subscription model for Windows. After all you’re getting updates every fortnight and critical patches ASAP. I wonder they let you buy their shit for so long.
Just in case someone brings it up—and someone will bring it up regardless—: I’m not defending their recent enshittification and “always online” mindset.
The libraries underneath will still allow nonsense at runtime
Only if you use a badly written library. Most libraries have types provided by DefinitelyTyped. Those who don’t are (in my experience) so tiny that you probably aren’t using them; or, if you really wanted, can check yourself.
In the end, if you encounter a bug, it’ still 99% of the time not a library’s fault, even if it’s written in plain JS.
I've got a great new armor idea... :) ( lemmy.sdf.org )
Alcohol is my way to turn myself on and off again ( i.imgur.com )
Surely "1337" is the same as 1337, right?
Meme transcription:...
Junior dev VS FAANMG dev ( lemmy.world )
Trying to understand JSON…
Meme transcription: Panel 1. Two images of JSON, one is the empty object, one is an object in which the key name maps to the value null. Caption: “Corporate needs you to find the difference between this picture and this picture”...
Eat shit Spotify. ( lemmy.world )
Going over the rate limit ( lemmy.world )
Shocked face
JavaScript ( sh.itjust.works )
Five Men Convicted of Operating Massive, Illegal Streaming Service That Allegedly Had More Content Than Netflix, Hulu, Vudu and Prime Video Combined ( variety.com )
If you had $200 to spend on fitness, what would you spend it on?
It's a one-time payment. You can spend it on anything fitness or health related....