how could anyone hate javascript, it's so beautiful, so intuitive

Β· Web Β· 4 Β· 1 Β· 12

@ashfurrow After 2 year of tangential work with it "because we need it" I still don't know how to iterate key, value pair out of an object without looking it up and failing thrice to do it.

@trickster not even importing a one liner package from npm to do it

get on my webshit level

@ashfurrow not necessarily

if the object is undefined or false or empty string or zero instead of null, it will actually cause your computer to set itself on fire

@ben @ashfurrow but only if you're running on Intel, they still have the HCF instruction

@ben yeah but React/JSX understands how to deal with empty strings, zeroes, undefined, etc.

@ashfurrow I would not risk setting my house on fire for any JavaScript library.

@ashfurrow Kotlin would be: `this.props.artwork.framed?.details`. Love it.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either! We adhere to an adapted version of the TootCat Code of Conduct and have documented a list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators. Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!