Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jax_the_dog
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
jax_the_dog
3y ago
Having just dealt with this… can you share that automation?
2.
▲
by
jax_the_dog
4y ago
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”
3.
▲
by
jax_the_dog
4y ago
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.
4.
▲
by
jax_the_dog
6y ago
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 mo
5.
▲
by
jax_the_dog
7y ago
neofetch or screenfetch
6.
▲
Ask HN: What is your faviorte interview question?
32 points
by
jax_the_dog
7y ago
|
42 comments