![](https://lemmy.world/pictrs/image/ed443f52-9fcc-46bc-941b-04e8c5d74224.jpeg)
![](https://lemmy.ml/pictrs/image/c0ed0a36-2496-4b4d-ac77-7d2fd7f2b5b7.png)
Not sure if I’m just missing a reference here, but if you choose the pizza you can have both.
Not sure if I’m just missing a reference here, but if you choose the pizza you can have both.
I’m so impressed that this is a thing
It is. It also happens to be undefined, and checking that for truth is how I was bitten.
My dude, you need to understand that all that anger and resentment, it is not you. It’s the years of JavaScript poisoning your mind.
In any case, that goes to my point. I would have to be saved by my IDE, when any sane language will blow up in your face as soon as you try to run it.
I spent way too long today figuring out why my app was doing something that it’s NOT supposed to do on weekends.
I read Luxon’s docs (pretty cool lib tbh) again and again, and tried everything I could think of to get isWeekend to return a sane result.
Turns out I was pulling a somewhat older version of Luxon, where isWeekend didn’t exist. In any sane language, I expect I’d get a huge warning about a property that doesn’t exist, but alas…
Typescript helps me keep my sanity, but juuuuust barely.
Are you the guy who has been posting this same comment every 10 years over the last half century?
(Edit: is joke)
Can you at least wait for me to die before taking me to hell, Satan?