Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cy_hauser
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
cy_hauser
4y ago
>> But people praise startups for pivoting ... Yes, but you discount the size of Google. Some of the things Google has killed have been large enough to have been considered successful products for a startup. They kill a "tiny&quo
32.
▲
by
cy_hauser
4y ago
> For a narrow enough definition of rich No matter where you lop the end of the Pareto distribution off the remaining curve still fits the same distribution. I though that was a defining characteristic of the principle. > ... reliable
33.
▲
by
cy_hauser
4y ago
I thought the genericists were the majority? It was the top most requested feature in the Go surveys for years.
34.
▲
by
cy_hauser
5y ago
I've coded Java, C#, and now Go and have spent years doing each. My experience differs from yours. Clearly our experiences differ and that's okay. I occasionally support Go and occasionally bash Go but really I don't have the
35.
▲
by
cy_hauser
5y ago
Enums in Go are inferior but that doesn't stop you from using them in the same way. Of course you can code gen using Go's tags. It's done all the time. As already pointed out, Go has the JFR it needs, not what Java has. Go do
36.
▲
by
cy_hauser
5y ago
Go does have some of these features: annotations, enums, JFR. They're just built for features of Go rather than Java. They're not the same but perform similar roles for the Go language. Error handling is subjective but I'm no
37.
▲
by
cy_hauser
5y ago
I'm interpreting your comment as, "Wikipedia isn't far right enough for my tastes." Is that accurate? Do you know of any examples where Wikipedia leans farther right than left?
38.
▲
by
cy_hauser
5y ago
For the sake of argument I'll say the way a desire comes into being has no bearing on making it good or bad. What is the implication of this with respect to advertising in your mental model?
39.
▲
by
cy_hauser
5y ago
So are you manually building a stack trace?
40.
▲
by
cy_hauser
5y ago
I'm on the opposite side of that fence. I'm looking forward to seeing what wonderful libraries can be created now that we have generics. It's going to be really interesting to see who's "right". Will the fear o
41.
▲
by
cy_hauser
5y ago
> Errors reach end users, and they cannot read stack traces. In general, users don't care about errors or stack traces. They don't want errors of any kind. As a developer I want users reporting errors, which can include a dense
42.
▲
by
cy_hauser
5y ago
That wasn't the greatest example as Go doesn't really have any way to represent it. If it did it might be something like this. type MyStruct struct { Name string } var-not-nil myStruct = &MyStruct{"Hello"
43.
▲
by
cy_hauser
5y ago
Or, if history is a guide, there will be a few really nice generic libraries written and a sizable minority of developers will adopt them as pseudo standard to fill the void. Then the Go team will do what they want, fracture the community,
44.
▲
by
cy_hauser
5y ago
No, the other one. The Oracle we hate and have hated for more than 20 years now.
45.
▲
by
cy_hauser
5y ago
Java (and C# and C++) have become kitchen sink sink languages. Everything is just thrown in. That makes it less productive for me. I've decided I don't want to carry around that much in my head all the time in order to read somebo
46.
▲
by
cy_hauser
5y ago
Because Java has become an unpleasant to code in. Do you really think what you like is what everyone else likes?
47.
▲
by
cy_hauser
5y ago
I have this cover on my wall too. I believe it was from extra copies that FIG or Forth Dimensions had. I see it every day. There was another version I'd seen that had a bit more color and stars in the background. Not sure whose that wa
48.
▲
by
cy_hauser
5y ago
No, it's not. It's just being dismissive because your wants are being met by the current state.
49.
▲
by
cy_hauser
5y ago
> Generics has so much indirection ... I don't understand. What do you mean? > almost every use of generics ultimately ends in type erasure or forced casting Again, not understanding. Would you mind giving an example of this?
50.
▲
by
cy_hauser
5y ago
Off topic but if OP is a maintainer please reduce the size and resolution of the GitHub banner image (2.4 MB).
51.
▲
by
cy_hauser
5y ago
You're probably right. I use Goland and I just think of it as a natural extension to Go. I shouldn't.
52.
▲
by
cy_hauser
5y ago
It returns nothing or the compiler/linter/ide will tell you.
53.
▲
by
cy_hauser
5y ago
> It will retain the great question and answer experience we’ve all come to appreciate from Stack Overflow. I deleted my SO account a few years back because I came to dread the "great q&a experience" so much that it was poi
54.
▲
by
cy_hauser
5y ago
The color choice is bad, that makes it difficult for my eyes to read. In case you hadn't realized each line is a link to the actual proposal. That's where the detail is found. The error line in the page tries to summarize the prop
55.
▲
by
cy_hauser
5y ago
> Go error handling in practice actually works very well. I disagree. A quick look through the Go code I'm working with now shows more than half the functions that check for and return errors have absolutely no business knowing abou
56.
▲
by
cy_hauser
5y ago
With no claims to suitability. Just back of envelope based on 400 write transactions per second. -- Assume an employee filling out a form on a web site that takes on minute to complete. -- Assume submits are randomly sent. (A bad assumption
57.
▲
by
cy_hauser
5y ago
> I would never complain about a language just because an IDE does not exist for it. I think their complaint is valid, especially in light of their finding it difficult to find experienced coders who are in their salary range. New coders
58.
▲
by
cy_hauser
5y ago
The lack of an ordered map keep me using slices where I'd otherwise reach for a map. This is one of the things I'm looking forward to once generics are in Go.
59.
▲
by
cy_hauser
5y ago
Infix notation with all the parens is the primary reason I never got comfortable with the lisps. My mind never worked like that. So I really believe there are valid personal preferences that keep people from liking languages right from the
60.
▲
by
cy_hauser
5y ago
True, but what other languages or other anythings are doing is at best irrelevant and at worst the entire point.
More ›