Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tsss
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
541.
▲
by
tsss
7y ago
I don't get how people can live like this. In any decent language with a primitive static type system this would take you 15 minutes at most and you could be sure that it works afterwards.
542.
▲
by
tsss
7y ago
Thank god I'm not the only one who is annoyed by that. I remember 1 or 2 years ago when I first installed KDE I thought I messed up the installation because the padding/margins looked so jarring, I was convinced there was somethin
543.
▲
by
tsss
7y ago
You'd think that a socialist of all people would understand that it pays off to bleed money in the beginning in order to get a market controlling position.
544.
▲
by
tsss
7y ago
How long is your commute? I highly doubt anyone who has to endure public transport for more than 30 minutes at a time would say that. Not to mention the limits on where you can go and what you can take with you. Of course you don't nee
545.
▲
by
tsss
7y ago
Or maybe they just don't want more density. You talk like there's only upsides to high-density cities but the people who are living there right now might not be amused about more people, more cramped spaces, more noise and polluti
546.
▲
by
tsss
7y ago
That looks suspicious. You need to have at least some personal data on you for them to drool over.
547.
▲
by
tsss
7y ago
At this point it should be common sense, there are arguments about this in practically every thread that mentions Python or JS. As much as I hate dynamic typing, there are use-cases where I don't care about it much. What makes Python t
548.
▲
by
tsss
7y ago
There is no agreed-upon definition of weakly and strongly typed; It is a nonsense word. Any Haskell programmer would laugh at someone who calls Python strongly typed.
549.
▲
by
tsss
8y ago
What about func make_numbers() -> Sequence<Any> This should work as long as Sequence is covariant on Element. You could return any possible Sequence here, like Sequence<Int> or Sequence<Double>. The user of the f
550.
▲
by
tsss
8y ago
I don't get the motivation behind this. I assume Swift has subtype polymorphism, so why not do this: func allEncompassingShape() -> Shape { return SpecialGiantShape() } This function returns some type that may be a su