Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mikeschinkel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
mikeschinkel
9mo ago
Nice technique, but wondering if the trailing "; exit" results in consuming non-zero exit codes passed to os.Exit() in the Go code?
2.
▲
by
mikeschinkel
1y ago
I ran a very successful company (successful for a time) that sold Visual Basic developer tools via a printed mail-order catalog named VBxtras. Two things killed Visual Basic: 1. The web. Visual Basic was first and foremost a Windows deskto
3.
▲
by
mikeschinkel
2y ago
Wow. That looks painful. Sigil soup!
4.
▲
by
mikeschinkel
2y ago
As a counterpoint, I have many times had to interact with the those technologies, and thus been able to use their source code as packages and/or learn their source code techniques which I have then used in my own Go programs. What does
5.
▲
by
mikeschinkel
2y ago
Interfaces are one way to inject stubs, and a good way, but not the only way. You can also use function values as callbacks.
6.
▲
by
mikeschinkel
2y ago
Agree with your assumption, but then I also know that developers often read recommendations and convert them into dogma, ignoring the specifics for when those recommendations should be applied. Early in my career I taught programmers and I
7.
▲
by
mikeschinkel
2y ago
PHP is not controlled by one main corporate entity. {Runs, ducks, hides. :-D}
8.
▲
by
mikeschinkel
2y ago
Deno 2.0 explicitly copied Go in many features, especially with dependencies being referenced via URL, and many of the CLI's commands are inspired by Go such as install, fmt, and test.
9.
▲
by
mikeschinkel
2y ago
I recognized exactly that way back in 1995. I used to teach Clipper in the late 80s and early 90s and you could do so much with it. It's competitor was FoxPro, which was far less capable. However, in hindsight after I quit using it I r
10.
▲
by
mikeschinkel
2y ago
In all your comments you seem to be hitting the nail on the head. Someone can say the German language is a bad language. But it is not the language that is bad, it is the person's perception. When they try to evaluate German while thin
11.
▲
by
mikeschinkel
2y ago
As a counterpoint, Go is currently the only language I do not find revolting. And complaining about "thing string" vs. "string thing" seems high on pedantry. Yes, there are aspects of Go I really dislike, but I find fe
12.
▲
by
mikeschinkel
2y ago
Sounds like a lack of good code review.
13.
▲
by
mikeschinkel
2y ago
But true enough.
14.
▲
by
mikeschinkel
2y ago
You can only force everyone on a project to use a formatter if you are the one who has the authority to decree what will be done on the team. OTOH, if you are but a team member and you join a team where the manager does not think common for
15.
▲
by
mikeschinkel
7y ago
Cool, thanks for the answer.
16.
▲
by
mikeschinkel
7y ago
Just curious about your just curious; what is the architecture of the current Tumblr back end? This appears to be 6 years old. Is it still relevant? http://highscalability.com/blog/2012/2/13/tumblr-archit
17.
▲
by
mikeschinkel
7y ago
> "Running them is as simple as `java -jar program.jar`." That is several steps too complicated: 1. Do you have Java installed? 2. Is it in the path? 3. Do you have the Required Version of Java installed? None of those need b
18.
▲
by
mikeschinkel
7y ago
> "The last think you want for general server side programming and cloud systems programming is Java? Because of the JVM?" Yes, for the smaller companies that do not have the effectively unlimited resources of Google and Amazon
19.
▲
by
mikeschinkel
7y ago
Then use panic() and recover() for that special type of use-case. Just as easy as exception handling.
20.
▲
by
mikeschinkel
7y ago
But then you have to spend lots of extra time trying to discern between the errors that were okay, and the errors that actually indicate flaws in your code. As they say, an ounce of prevention...
21.
▲
by
mikeschinkel
7y ago
> If you say XML you lose (it is a config fmt get over yourself...). "Besides that Mrs. Lincoln, how was the play?"
22.
▲
by
mikeschinkel
7y ago
As someone who started Go when Modules were already available, I don't think you'll run into it (unless you try to use older packages.)
23.
▲
by
mikeschinkel
7y ago
I would say you can't know if it will cause you pain until you try it. Using the metaphor, some people actually like certain types of pain, and pain is something that is very hard to understand simply by listening to the complaints o
24.
▲
by
mikeschinkel
7y ago
I was one of the many who argued strenuously that they not add try(). I spent an entire day writing up my reasons who I posted to the ticket on GitHub. Bottom line, try() had too many flaws — especially related to consistency with the rest
25.
▲
by
mikeschinkel
7y ago
After working with Go for a while I actually find code with error handling easier to read because it is more clear to me what it happening. I look for the error handling as an indicator that the code can actually fail vs. code that cannot f
26.
▲
by
mikeschinkel
7y ago
> That's why exceptions work so well in most languages But there are many people including some well-known and highly-respect people who believe that exception handling in fact does not actually work well: - https://www.j
27.
▲
by
mikeschinkel
7y ago
Given that I have worked with VB long before .NET even existed, I have a broader view of it than just the more recent criticisms. VB's biggest problem IMO is that it tried to compete with C# instead of maintaining its original raison d
28.
▲
by
mikeschinkel
7y ago
You do not have to be precise in Go either, and you don't have to know all the faults. All you have to know if where a return value that implements the interface `error` is not nil.
29.
▲
by
mikeschinkel
7y ago
Visual Basic is hardly academic; they is a tremendous amount of line-of-business code that has been written in VB over the past 25 years. But yeah, Go dev do not see VB's features as being "features."
30.
▲
by
mikeschinkel
7y ago
Curious, do you see other communities that are not passionate about their languages?
More ›