Nice technique, but wondering if the trailing "; exit" results in consuming non-zero exit codes passed to os.Exit() in the Go code?
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…
Wow. That looks painful. Sigil soup!
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…
Interfaces are one way to inject stubs, and a good way, but not the only way. You can also use function values as callbacks.
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…
PHP is not controlled by one main corporate entity. {Runs, ducks, hides. :-D}
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…
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…
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.
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…
Cool, thanks for the answer.
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...
> "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…
> "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…
Then use panic() and recover() for that special type of use-case. Just as easy as exception handling.
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…
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…
Nice technique, but wondering if the trailing "; exit" results in consuming non-zero exit codes passed to os.Exit() in the Go code?
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…
Wow. That looks painful. Sigil soup!
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…
Interfaces are one way to inject stubs, and a good way, but not the only way. You can also use function values as callbacks.
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…
PHP is not controlled by one main corporate entity. {Runs, ducks, hides. :-D}
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…
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…
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.
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…
Cool, thanks for the answer.
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...
> "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…
> "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…
Then use panic() and recover() for that special type of use-case. Just as easy as exception handling.
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…
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…