deleted by creator
deleted by creator
Hope you didn’t have the repository URL in your package.json… otherwise it’ll be gone now.
80% seems really low
Last company I worked at used Typescript, but used any
for everything… I have no idea why. I never got an actual answer.
The last one knows it’s not a programming language and is annoyingly vocal about it.
You’re not. Jetbrains users are just a lot more vocal. It’s like vegans or people who vape. They will let you know 😉
If you’re paying someone $40 an hour who doesn’t know what a rectangle is then I think you’re the problem.
It makes sense why they did it, but their messed up versioning was the cause to begin with. You should always assume Devs will cut corners in inappropriate ways.
Because they have dozens of years of experience! They didn’t learn anything from it, but they have it!
You just never know when that bastard is gonna pop up
It’s a meme, it’s not actually saying not to use async:
It’s fine as long as you have proper source control. Run it and check the diff before committing.
It is wrong to sell addictive substances to addicts.
Sure, adults have the right to smoke if they want. They are, of course, adults. But that doesn’t make it okay for tobacco companies to advertise harmful and addictive substances to anyone, least of all the people who are already addicted.
deleted by creator
/^(sun|sat)/i.test(day_of_week)
👍
This image reminds me of a junior dev who used fixed position for everything because he “couldn’t make it look like the picture otherwise”.
In JS a Boolean has 4 states.
true
false
undefined (where the key is set to undefined)
undefined (where the key doesn’t exist on the object)
if (obj.value === true) {
console.log(1);
} else if (obj.value === false) {
console.log(2);
} else if ("value" in obj) { // key "value" is in the obj, but it is set to undefined
console.log(3);
} else { // key "value" is not in object
console.log(4);
}
You’re welcome.
Yeah, like JavaScript