HNHacker News
TopNewBestAskShowJobs

jax_the_dog

19 karma · joined April 1, 2019

submissionscomments
jax_the_dog··on Roundcube open-source webmail software merges with Nextcloud
Having just dealt with this… can you share that automation?
jax_the_dog··on Making sense of TypeScript using set theory
That makes some sense to me.

I’m not a TypeScript dev so I apologize for the stupid question. Is there any functional difference between the two? I.e. is there a case where using Unknown instead of Any will result in some sort of “compile” time error opposed to a runtime?

jax_the_dog··on Making sense of TypeScript using set theory
How is unknown better than any in this case? If you do not care about the data type, wouldn’t you say that “any” data type is acceptable? If you say “unknown” that means that there is possibly some data type that would break your function.
jax_the_dog··on Applying “make invalid states unrepresentable”
Not OP, but it would add complexity because that method you "weren't going to need" turns out to actually be needed.

Now you have to work around your simplified design because you decided that you didn't need anything more.

jax_the_dog··on Building a Raspberry Pi 3B+ full keyboard handheld
neofetch or screenfetch