Fred Masen wrote:Hey Rob I am back with the go programming language If you have some time, could you tell me where the bug is from my last program and post? I will appreciate. Thanks again.
Hi Fred,
I think the two languages (Go and Java) are very different, and they have different applications.
Java has over time evolved and had new features built in. It's a multi-purpose language with many different libraries and frameworks.
Go in comparison has much simpler language constructs, which IMO is a good thing as it's quite accessible to newcomers, and isn't bogged down with lots of syntactical baggage. It's also for situations where performance is a big issue as it's intended to be closer to the hardware. And of course Go does concurrency extremely well, and is without doubt the easiest language to manage multi-threading and
thread synchronisation.
If you're concerned about the verbosity of your code, then a good
IDE can help you a lot with auto-completion. I find that the support for Go in Visual Studio Code is excellent. It will even automatically add import statements, as Eclipse/Intellij does for Java.