Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
9rx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
451.
▲
by
9rx
8mo ago
Ideally, but if a project wasn't written with tests at the time then finding a working time machine can be a challenge. If you try to add them later you won't capture all the nuance that went into the original program. After all,
452.
▲
by
9rx
8mo ago
> Sum types in general are missing from Go Not quite. It doesn't have tagged unions, which is what I expect you are thinking of, but it does have sum types.
453.
▲
by
9rx
8mo ago
Files are IO, which means a lot of waiting. For what reason wouldn't you want to open them concurrently?
454.
▲
by
9rx
8mo ago
> I wouldn't say that elections have little to do with democracy, they are necessary. Elections are a useful tool, but not strictly necessary. Obviously in the small scale the people in a democracy can simply communicate directly.
455.
▲
by
9rx
8mo ago
What's the use-case for block-level defer? In a tight loop you'd want your cleanup to happen after the fact. And in, say, an IO loop, you're going to want concurrency anyway, which necessarily introduces new function scope.
456.
▲
by
9rx
8mo ago
> What term do you use for Haskell? In the context of the dimension we have been talking about, it is also functional. There is no difference between Haskell, Python, Java, etc. in that particular dimension. All of those languages you
457.
▲
by
9rx
8mo ago
> You've built a internally-consistent taxonomy I'm certainly not clever enough to have built it. Not to mention that the person who coined OOP is quite famous for having done so. I am not him, I can assure you. I have merely
458.
▲
by
9rx
8mo ago
> When C++ developers say "OOP" they mean classes, inheritance hierarchies, virtual methods. Okay, but for that to be true in this case then you must explain how Swift has "better OOP support". If there is no ration
459.
▲
by
9rx
8mo ago
Current generation "AI" has already largely solved cheaper, faster, and more reliable. But it hasn't figured out how to curb demand. So far, the more software we build, the more people want even more software. Much like is to
460.
▲
by
9rx
8mo ago
> That's the thing man, there isn't anything. But that's the thing, there is: It supports message passing. Like we already discussed long ago, it supports it poorly, and only for the sake of compatibility with Objective-
461.
▲
by
9rx
8mo ago
I'm pretty sure your guessing is silly. I assume you are trying to be here in good faith, so make your case. Since it is not support for message passing, what else makes Swift have "strictly better OOP support"?
462.
▲
by
9rx
8mo ago
China also likes to claim it is a democracy because it holds elections. It is fair to say that the USA is still a democracy, but not because of elections. Elections have little to do with democracy. In fact, if the majority of the populatio
463.
▲
by
9rx
8mo ago
Just as you are welcome to come up with other definitions. Although last time you tried they ended up being quite inconsistent, so one does need to be careful if you want them to be useful. These definitions are not at odds with the discuss
464.
▲
by
9rx
8mo ago
> They are both OOP, just as a "football" can be either spherical or oblong. They are both OOP like a football can be something that you use in a sport and something that flies you to the moon. Except it is not clear what fli
465.
▲
by
9rx
8mo ago
Right, the former is what OOP is. The latter, encapsulating data in "objects", is functional programming.
466.
▲
by
9rx
8mo ago
You can, but then you don't get any of what OOP actually offers. Message passing isn't the same thing as dynamic dispatch. OOP is a very different paradigm.
467.
▲
by
9rx
8mo ago
> Rust has straightforward support for every part of OOP other than implementation inheritance Except the only thing that makes OOP OOP: Message passing. Granted, Swift only just barely supports it, and only for the sake of interop wit
468.
▲
by
9rx
8mo ago
Two years. Basically the period when people were stuck at home during COVID restrictions and were willing to spend extra money to make that experience more comfortable. Prices fell precipitously after restrictions were lifted and people had
469.
▲
by
9rx
8mo ago
Same goes for humans. There are some wild exceptions, but most Go projects look like they were written by the same person.
470.
▲
by
9rx
8mo ago
Land is more or less worth the same whether it has a used house on it or if you build a new house on it. The trouble remains that the high cost of new construction anchors the cost of used houses.
471.
▲
by
9rx
8mo ago
> Those places would have to build an impossible number of houses to affect demand. If houses were able to be built freely then everyone would be able to build a house... Except , if you can't afford a used house, you most defini
472.
▲
by
9rx
8mo ago
It is not like I'm homeless. I would be the one upgrading. Except I don't see how the numbers make sense. You're right: The cost of new construction anchors the used market. Used housing is so expensive because new housing is
473.
▲
by
9rx
8mo ago
Hence solid state.
474.
▲
by
9rx
8mo ago
If one was freely able to move about the entire world you may have a point. Especially given current events, I am not sure the country in which that house is located would take kindly to many of us moving there. In a more practical reality
475.
▲
by
9rx
8mo ago
"Built in 1954" doesn't sound like new construction. Of course you can buy used houses at a fraction of the cost. That's nothing new. Maybe you missed it, but the discussion here about building new to make homes more aff
476.
▲
by
9rx
8mo ago
Congratulations?
477.
▲
by
9rx
8mo ago
sceptic - someone inclined to question or doubt what they sense optically. skeptic - someone inclined to question or doubt what they sense magnetically.
478.
▲
by
9rx
8mo ago
Solid State Drive, usually, but when it comes to language anything goes.
479.
▲
by
9rx
8mo ago
> it's expensive because a _LOT_ of people want to live there. I can't figure out how to make the math make sense even if I were to build a house in the middle of nowhere. Time and materials is the real killer. Some day, when
480.
▲
by
9rx
8mo ago
Nah. Rich people don't exist, or at least cannot last long, without a moat, which is an idea from the left. In fact, taken to the extreme, the left outlaws property ownership so that a few rich people gain control of everything.
More ›