Nice technique, but wondering if the trailing "; exit" results in consuming non-zero exit codes passed to os.Exit() in the Go code?
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…
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…
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.
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…
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…
Sounds like a lack of good code review.
But true enough.
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-architectur...
> "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…
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...
> If you say XML you lose (it is a config fmt get over yourself...). "Besides that Mrs. Lincoln, how was the play?"
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.)
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…
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…
> 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: -…
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…
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.
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."
Interestingly you _can_ implement method chaining to require a terminal method call i.e. err := GetFoo().SetBar(1).SetBaz(2).Run() and then each chained method would set an error property in the object and if err!=nil…
JMTCW, but since I generally program Go in GoLand with the debugger, I have full access to the stack all the time so I have not found this to be a major concern. But YMMV.
Recently the Go team introduced the xerrors package for improved error management: https://godoc.org/golang.org/x/xerrors So using these functions is becoming part of what good Go programmers do.
The full call stack is available in Go but it is up to the developer if they want to include it or not which they can do by creating a custom error type and implementing that to be part of their type. And having the…
I would argue that if you are using boilerplate annotations, you are doing it wrong. If you really do not need to add context, don't add context. But in my code I find that I want to add context about 90% of the time.…
Just curious. Do you have a vision for how Go could change to improve your issues? (One of the key problems is nobody could agree on a better approach...) Also, what editor/IDE do you use? The reason I ask is because of…
Nice technique, but wondering if the trailing "; exit" results in consuming non-zero exit codes passed to os.Exit() in the Go code?
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…
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…
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.
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…
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…
Sounds like a lack of good code review.
But true enough.
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-architectur...
> "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…
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...
> If you say XML you lose (it is a config fmt get over yourself...). "Besides that Mrs. Lincoln, how was the play?"
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.)
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…
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…
> 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: -…
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…
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.
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."
Interestingly you _can_ implement method chaining to require a terminal method call i.e. err := GetFoo().SetBar(1).SetBaz(2).Run() and then each chained method would set an error property in the object and if err!=nil…
JMTCW, but since I generally program Go in GoLand with the debugger, I have full access to the stack all the time so I have not found this to be a major concern. But YMMV.
Recently the Go team introduced the xerrors package for improved error management: https://godoc.org/golang.org/x/xerrors So using these functions is becoming part of what good Go programmers do.
The full call stack is available in Go but it is up to the developer if they want to include it or not which they can do by creating a custom error type and implementing that to be part of their type. And having the…
I would argue that if you are using boilerplate annotations, you are doing it wrong. If you really do not need to add context, don't add context. But in my code I find that I want to add context about 90% of the time.…
Just curious. Do you have a vision for how Go could change to improve your issues? (One of the key problems is nobody could agree on a better approach...) Also, what editor/IDE do you use? The reason I ask is because of…