Software dev problems Show more
@max I've never understood the benefits of implicit type conversion. Coercion doesn't save a coder any significant amount of time - pressing a few keys on my keyboard to explicitly cast or convert a type takes little effort - and it's so prone to errors and undefined behaviour.
Software dev problems Show more
@jeffalyanak I understand it from the fast and loose sense of "just subtract these two things and give me something reasonable back". There can be a benefit there in duck typing from a distance in that you don't need to know the full system to touch small parts of it.
That said, yes, I use Typescript exclusively these days because I want to know the full system I'm working, I'm not just trying to bang together a quick onclick handler, but building an app, want type safety.
Smeap is the honk of a flamingo. Smeap was also at least once, a storybook land at the weird intersection of TV ads and the worlds they seem to inhabit. It was a place where wars were fought over sodas, and talking polar bears had very good reasons to guard soda machines. It was a place where rainbow color candies were harvested for electric power. It was a place where a prairie dog might move to big city inhabited mostly by Pink Flamingos to follow her dream to be private investigator, only to get slowly entangled in the seedy underbelly of crime and prohibited soda trading of the Neon Flamingos and their syndicate. Social media at times lately feels like it has become almost entirely seedy underbelly with very little upside. Maybe it needs more storybook worlds.
Software dev problems Show more
It was not a dependency issue of that sort, it was use copy and pastes and I retype, so copy & pasted numbers in some parts of the app were getting saved as strings, so some equations worked (because implicit JS type coercion, boo) and the others didn't because the dependency just ignore strings because WHY WOULD YOU EXPECT STRINGS TO BE NUMBERS?! 😿