Aurélien

Aurélien

@aurelienrichard.com

I build custom websites for service-oriented businesses. • https://aurelienrichard.com/ • https://github.com/aurelienrichard • https://www.linkedin.com/in/aurelienrichard

53 followers209 following57 posts

I don't know where things are headed (and btw nobody does, do yourself a favour and quit paying attention to anyone who speaks like they've seen the future) but the internet is changing rapidly, and not in a good way.

It's turning increasingly hostile towards humans who aren't willing to give out their entire personal data and subject themselves to opaque algorithms that decide for them what they get to see and hear. Meanwhile, bot/automated activity and content generation is clogging up everything else.

"Choose the right tool for the job" is such a platitude. It sounds good, we all agree with it in theory. But how many of us developers actually go out of our comfort zone to find "the right tool"? At best, we rationalize after the fact that the tool we were going to choose anyway was the right one.

This makes no sense to me. The value passed to the function could be anything, hence the 'unknown' type. But TypeScript isn't happy unless the value is already of type 'Color'. It's trying to get me to write an assertion that will always return true. What am I missing?

You are up to date.