News for hackers. Stuff that matters.
Re:Go Is the New Java by obviouslynotme on Wednesday January 13, 2021 @04:04PM (#25767943)
Go's Windows and GUI support is questionable at best. If anything, Go is a Ruby, Python, and server-side C++ killer. Go gives you the development iteration speed of an interpreted language with performance approaching C. Go is a reasonable compromise in the backend arena.
Re:Go Is the New Java by nunez on Thursday January 14, 2021 @12:40AM (#25772538)
I disagree with the speed of an interpreted language. Ruby and Python (to a lesser extent) make writing flexible, readable code very, very easy. You don’t have to worry about types (unless you want to) and correctness; there are lots of ways of getting things done in those languages, and writing tests/mocks/stubs is WAY easier because of that.

In my experience, what would take me 30 lines of Ruby with maybe the same number of lines for its test takes 2x the length and boilerplate with Golang.

Re:Go Is the New Java by obviouslynotme on Thursday January 14, 2021 @04:47PM (#25783108)
You aren't wrong. Go comes with some boilerplate, but it's not as much as people imagine. My main point was that you can compile, execute, and view your changes almost as quickly as an interpreted language. Anyone who has worked with long compile times from C++, Java, or Rust knows how nice and incredibly powerful this is.
Re:Go Is the New Java by randompwd on Wednesday January 13, 2021 @03:59PM (#25767886)
One of the replies says the only sensible thing on that thread:

> Just because you had the thought doesn't make it true.

Re:Go Is the New Java by stuckindider on Wednesday January 13, 2021 @04:02PM (#25767928)
If you repeat it enough times it becomes true.
Re:Go Is the New Java by sto_hristo on Wednesday January 13, 2021 @06:03PM (#25769216)
Only if you're running a sweet and loving peaceful dictatorship with a nice dress code.
Re:Go Is the New Java by nunez on Thursday January 14, 2021 @12:37AM (#25772525)
Not even close. Lack of generics, object orientation, GUI-based companion tools, and (most importantly) a large vendor behind the language will prevent it from breaking out of the “scripting” space and into the “enterprise” space.
Re:Go Is the New Java by ThrowMeAwayOkay on Thursday January 14, 2021 @01:01AM (#25772682)
Go never really found it’s place. It’s dying a slow death.