Bugs in tests aren’t necessarily exceptions. You could be incorrectly setting up your function inputs, or just making the wrong assertions.
Bugs in tests aren’t necessarily exceptions. You could be incorrectly setting up your function inputs, or just making the wrong assertions.
I don’t really get how “overt racism in a job description” is programmer humor, but alright
deleted by creator
No resolution of tech debt, ONLY DELIVER
Then another message popped up. This time with a console.warn() logging level, so I just couldn’t ignore it.
That’s how you know this one’s fake. Most unrealistic part of the whole story.
It does some funky things with type coercion and comparison which I don’t particularly like, but I generally understand why it does things that way.
A lot of the weird quirks of JS come from the desire to avoid completely blowing up and crashing as much as possible, which makes sense in a web dev context. Forcing weird operations to at least return something can prevent an unhandled error state in a single component from causing an entire page to crash, even if that component ends up malfunctioning as a result.
Good luck with that lmao
You do know that Lemmy counts as social media too, right?
And WanderingDwarfMiner. Rock and Stone!
No, your intuition is correct, this is extremely cursed.