Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
9rx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
91.
▲
by
9rx
4mo ago
> and averse to the idea of using other people's work. They did use someone else's work, though. If you recall, Philip Wadler (of Haskell fame) designed Go's generics. > but by so doing end up with poor reinventions
92.
▲
by
9rx
4mo ago
> Labor saving tech doesn't lead to more free time It does when you own the tech. If you give the tech away then the people who you gave it to will continue to expect more of the same, naturally.
93.
▲
by
9rx
4mo ago
Code is written to be read, and typically for other people to read. So, in practice, it is only optional if everyone else agrees to not use it.
94.
▲
by
9rx
4mo ago
> for want of a better word Structural typing is the term typically used to describe "static duck typing".
95.
▲
by
9rx
4mo ago
If only you had made it to the second paragraph. Hey, at least we can now understand why you have such a hard time with nil, so that's something.
96.
▲
by
9rx
4mo ago
> Of course the social landscape depends on people actually using it. That's nonsense. Brainfuck has shaped the social landscape despite effectively nobody using it, and absolutely nobody using it for any real work. The social lan
97.
▲
by
9rx
4mo ago
> Like by not remembering to check if a pointer is nil? Rule of thumb is to not introduce values that aren't valid. Equally, don't put in -1 for an age value, even if the language allows you to. You might later forget to vali
98.
▲
by
9rx
4mo ago
> Nil exists in C and is widely considered to be a massive mistake in the language. You're almost there, but it is wildly considered to be massive mistake in context of arrays . C has weird array semantics that are confusing and
99.
▲
by
9rx
4mo ago
Typescript has something resembling nil as inherited from Javascript, so presumably that's what you are referring to. C and Javascript are the most widely used languages in existence. Clearly they weren't kneecapped. It mightn
100.
▲
by
9rx
4mo ago
> So it is a statically typed language first and foremost. Right, because that is primarily how it makes things fast. Python is slow largely because it spends an inordinate amount of time trying to figure out what things are. Go knows
101.
▲
by
9rx
4mo ago
> The problem is this - https://www.zarl.dev/posts/enums The only case I see made in there is that it doesn't like how Go implicitly converts consts. While that may be a reasonable criticism, it doesn't
102.
▲
by
9rx
4mo ago
The social landscape doesn't depend on anyone actually using it. However, 1.0 isn't a significant milestone like you suggest either. For a current example, Zig is relatively popular today despite not yet reaching 1.0.
103.
▲
by
9rx
4mo ago
Why is iota a massive kneecap to the language? It is semantically identical to enum in C and Typescript. The trouble is that Rust is older than Go and it was already confusing people into thinking enums and sum types are the same thing, so
104.
▲
by
9rx
4mo ago
An engineer, of course, understands that there is no such thing as "wrong", only different tradeoffs, but with the rise of "vibe coding" you don't need to be an engineer to play in the world of programming anymore.
105.
▲
by
9rx
4mo ago
Of course, if you go back and watch the original Go announcement it said that it would need generics once they figured out how to do it. And when the first version of generics landed it was said that generic methods would be added later, on
106.
▲
by
9rx
5mo ago
The high school I attended had a shooting range once upon a time. It was expected that the kids would brings their rifles to school to use it. How times have changed.
107.
▲
by
9rx
5mo ago
> So that distinction about Wal-Mart was just... resolutely bullshit. No. It's the same market dynamic. Artists with a large market sell their tickets below fair consumer market value for the same reason manufacturers with a large
108.
▲
by
9rx
5mo ago
> Scalpers buy tickets at the same (retail) price that you or I do The game of semantics isn't going to get you far. You could equally say that scalpers buy same wholesale tickets that you and I do. The words "retail" an
109.
▲
by
9rx
5mo ago
> I pay dues to a union. Those dues can go towards paying someone who knows how to run a union. Making you the employer. Dues are not a social or legal entity in and of themselves. There needs to be a human in the loop and in this hypo
110.
▲
by
9rx
5mo ago
> Being in a union is not being an employer Uh, you absolutely become an employer when you start employing people. > anymore than calling a plumber is becoming a contractor. Why would you become a contractor by calling a plumber?
111.
▲
by
9rx
5mo ago
> Not really! You can hire for this role—your union can hire an attorney, an accountant, an HR professional Your solution to avoid becoming an employer is to... employ people? Oh boy.
112.
▲
by
9rx
5mo ago
> They instead buy truckloads of tickets at retail prices Clearly that's not true. Retail charges what the consumer is willing to pay. If the tickets were sold retail there would be no consistent arbitrage opportunity. There may h
113.
▲
by
9rx
5mo ago
> no value add to the market. Markets are more efficient than you give them credit for. If there was no value-add it wouldn't happen. The value-add is that the scalpers take the risk and hassle off of the artist/venue. They c
114.
▲
by
9rx
5mo ago
Perhaps it depends on your "Ship of Theseus" perspective, but we have all kinds of evidence that demonstrates music fans are quite often more than happy to see a live performance of a set of songs they've come to love even wh
115.
▲
by
9rx
5mo ago
> The 17-year-old meanwhile may never get to go to a show of any of their favorite bands Back in my day 17-year-olds, especially those who would want to attend concerts, were interested in discovering music. Some of those discoveries w
116.
▲
by
9rx
5mo ago
Not really. The vast majority of live music isn't even able to sell tickets as nobody would pay a penny, let alone a fortune. Getting in isn't much of a problem. Only the megastars that can command high-priced tickets would attrac
117.
▲
by
9rx
5mo ago
> The question then becomes whether you think that the only reason they manage to not cause everything to crash and burn is because they have far less relative power to the people who sign the paychecks The question is how much do you
118.
▲
by
9rx
5mo ago
> If we were drowning in software jobs the way you describe, why would anyone tolerate having such awful coworkers at their office instead of finding somewhere better? I am not sure I follow your thinking here. We would be (or at least
119.
▲
by
9rx
5mo ago
"co-op" may be more common, but we can easily find many examples of "coop" use out in the wild. The title is fine. The surrounding context makes it clear what "coop" is intended to mean.
120.
▲
by
9rx
5mo ago
> I'll never understand why so many tech workers are so strongly against the idea of unions. Tech attracts a lot of "undesirables", for want of a better word, and there is no great way to separate them from the quality p
More ›