Show newer

re: no image descriptions 

@aescling @vaporeon_ sure Brandon Eich, why not do that

re: incorrect 

@sudo_EatPant the reason we say nullish is because the language has two "null-like" values (undefined and null) where most languages only have one. So we say "nullish" to refer to either of these two values

@vaporeon_ might not be an issue if you have runtime type checking before the query, or if your JavaScript is compiled/transpiled from TypeScript, or if you have extensive confidence in your software testing

@vaporeon_ there are non-nullish values that are coerced to false. or x could be false itself. That means the following values would also be treated as nullish:

false
""
0
-0
0n
NaN

@aescling at work we had that but for a function called "exists"

@aescling is that a function you define elsewhere in your program?

Your preferred style(s) for checking for nullish in JavaScript:

re: oh yeah, this is long. 

@The_T @monorail @aescling thanks for the thoughtful response, much appreciated!

this little angel is twelve years old, everyone say happy birthday to the most beautiful girl in the world 🎁🎈👑🎂🐈‍⬛

@monorail I know you said this is bad news but my initial reaction to this was "wow art is so beautiful"

I have successfully benchmarked my stardew math code but I also somehow broke it in the process

@aschmitz Writing a Riven review would be interesting, it is one of the most mixed-bag experiences I've ever had with any work of art

I would like to play Myst some day

Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.