Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cy_hauser
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
cy_hauser
6y ago
> I think people complain about Go because it's not the hammer for their nail. Or it's _almost_ the correct hammer! If they'd just fix those damn
92.
▲
by
cy_hauser
6y ago
Lack of real enums is one of my biggest annoyances with Go. So so many times I've put the wrong enum value in because it's just an int and it matches another set of enums. I've taken to putting each set of enums into a separa
93.
▲
by
cy_hauser
6y ago
I've used Go for both "web routing" and business logic apps and found it fairly nice. In what context and in what way do you find it a bad?
94.
▲
by
cy_hauser
6y ago
Have you used it? Compared it to another GUI framework? Which cross platform desktop GUI frameworks do you consider better?
95.
▲
by
cy_hauser
6y ago
My first click was the link for "Accessing a value of an unexported identifier". Figured I'd see some reflection trick or similar. In looking at that code I still have no idea what it's doing in relation to accessing an
96.
▲
by
cy_hauser
6y ago
>> I wonder if there are any modern dialects? No there are not. It's extremely frustrating that Free Pascal and Delphi's Pascal are stuck with all the annoying baggage that more modern languages have been able to skip.
97.
▲
by
cy_hauser
6y ago
While I'm no great fan of Go's error handling, I've not found this to be an issue. The compiler yells at you if you forget. You'd have to explicitly ignore the error by underscoring it to "forget" it.
98.
▲
by
cy_hauser
6y ago
> communicates errors, and you can do something those errors By this definition is there a language that doesn't have "error handling?"
99.
▲
by
cy_hauser
6y ago
> generic collections (coming soon!) You and I must experience time differently. I read a couple days ago that the end of 2022 would be the earliest they might appear but probably further out than that.
100.
▲
by
cy_hauser
6y ago
What do you consider some of the good ones?
101.
▲
by
cy_hauser
6y ago
A large percent of the world has little to no money. They have no real choice except to accept free with all the consequences. Not using a service like facebook may not be realistic when the percentage of a group using it gets above a usefu
102.
▲
by
cy_hauser
6y ago
Yup, if setup and configuration were easy I doubt there would be a business. So the takeaway is to add chaos at that point.
103.
▲
by
cy_hauser
6y ago
Probably easier for msft or amzn to just buy them out and get the customer base too.
104.
▲
by
cy_hauser
6y ago
> about losing the property that "all Go code tends to be written in the same general way" I understand what you're saying but I think (hope?) you're going to be found wrong here. I think that: (1) very quickly "
105.
▲
by
cy_hauser
6y ago
I'm not understanding this. Are you saying an Option[V] would reduce the number of lines of code (the explosion) that Go code uses for "err := ...; if err == nil"?
106.
▲
by
cy_hauser
6y ago
Kudos. You've found a perfect solution that works for you and doesn't try to move society in a particular direction. Even better, you're not trying to stop others from moving society in their favored direction. Win-win, right
107.
▲
by
cy_hauser
6y ago
I'd suggest they're synonymous in this scenario.
108.
▲
by
cy_hauser
6y ago
> one-off tricks like compiling itself in 5 seconds. I took that as saying D could compile itself in 5 seconds too. I was impressed. Bubble bursted.
109.
▲
by
cy_hauser
6y ago
I would speculate no. It's not a well recognized degree and has little history or experience to back it up.
110.
▲
by
cy_hauser
6y ago
In looking at the CS curricilum this looks more like an extended bootcamp. Most regular university courses are not there, the credits/classes won't transfer to full universities, and you're left with a "degree" that
111.
▲
by
cy_hauser
6y ago
> You can actually play free games, have fun and never pay. But it will never be as fun as it could be if there were no in-app purchases and no ads. That always sits in the back of my mind and prevents me from even trying a game with in-
112.
▲
by
cy_hauser
6y ago
Good site. Thanks for the link.
113.
▲
by
cy_hauser
6y ago
> I’m too poor to afford free games. I'm stealing that line. (And thus contributing to your continuing to be poor. Sorry.)
114.
▲
by
cy_hauser
6y ago
Interesting but the wrong model for me. I'm looking for a Spotify/Netflix type solution. All the news in one place with annual payment for all I care to consume. Otherwise I have to think about each article and act to keep the cos
115.
▲
by
cy_hauser
6y ago
> If you rely on having a stable Qt, why not pay the company that develops the software? Because it's too expensive for me to afford. More than an order of magnitude too high for me. As side projects I write closed source software s
116.
▲
by
cy_hauser
6y ago
> "slap a grid on top of that SELECT * FROM Orders" FWIW, before there was Delphi there was an entire language (and consulting industry) built around this: PowerBuilder. Its primary component was a "DataWindow" which
117.
▲
by
cy_hauser
6y ago
Go's embedding _is_ composition (has-a) in any other OO language but with a little sugar. Embedding allows the compiler to optimize the memory layout for a composed object and allows you to reference the composed object's fields w
118.
▲
by
cy_hauser
6y ago
This is tough to answer without a language in mind. Depending on what access you have you can use interfaces to get run time method binding or composition to get compile time binding. For either of these you'll have to "wire"
119.
▲
by
cy_hauser
6y ago
Got it. Makes sense.
120.
▲
by
cy_hauser
6y ago
> "Inheritance and OO design are the distinguishing features of OOP in my mind;" I don't consider inheritance an important feature for a language to be an "Object Oriented Language." Inheritance: none, single, an
More ›