News for hackers. Stuff that matters.
Re:How Go helped save HealthCare.gov by socialdemocrat on Monday November 09, 2020 @05:38PM (#25040816)
No you couldn’t. I watched both Java and Go since they got released and Java really quickly went into the over-engineering and complexity camp long before generics. I worked as a consultant doing Java long before generics and the culture of over-engineering was already there. The language also really encourage it.

Go is an entirely different beast. The language, libraries and whole community is really worshipping simplicity in a way Java never did.

Just look around a bit at the standard library. There are pretty much no setters and getters. No inheritance hierarchy to speak of. Not even constructors most of the time.

It is not without reason that Go angers a lot of people that think they know how to do software. It breaks all the rules they have kept sacred, that they think all “real” programmers should follow.

Think about it this way. If Java is SLS assembled in a clean room never getting done, then Go is more like SpaceX assembling a rocket in open space with guy who normally weld water towers. It isn’t how it is supposed to be done but it works and they get shit done 20x faster.

Re:How Go helped save HealthCare.gov by mbesto on Monday November 09, 2020 @07:39PM (#25041705)
> The language, libraries and whole community is really worshipping simplicity in a way Java never did.

Isn't that because it's essentially "new"?

Re:How Go helped save HealthCare.gov by Cthulhu_ on Tuesday November 10, 2020 @05:26AM (#25044402)
It's been released (or gotten a 1.0 release) in 2012 but in development since 2007, so relatively as old as Java 5 since Java's inception; compare the features added to Java with those to Go: https://en.wikipedia.org/wiki/Java_version_history vs https://en.wikipedia.org/wiki/Go_(programming_language)
Re:How Go helped save HealthCare.gov by nrr on Monday November 09, 2020 @08:43PM (#25042038)
I don't think so. Go looks to be focusing mostly on systems-level problems and the kinds of applications that orbit that concern.

Java, on the other hand--at least when you control for the confusion around whether "Java" referred to the JVM, the language, the base class library, or the security model--was looking to take on C++ and the kinds of software people were looking to write in 1996 in C++.

You can write line of business software in Go, but that doesn't really feel like its purpose in life. The language fights you a little bit when you try to do that.

Re:How Go helped save HealthCare.gov by yesdocs on Monday November 09, 2020 @06:11PM (#25041109)
News flash: this is what they said about COBOL, C, C++, JavaScript, closure, etc. as well as architectural patterns such as OOD or functional programming. Every language, and every platform has it’s nuances. You can do silly, non performing things in any language or platform. To assume a particular language will solve all your woes is outright naive and exhibits no memory of past software engineering concepts.
Re:How Go helped save HealthCare.gov by ineedasername on Monday November 09, 2020 @07:16PM (#25041544)
You are basically saying that no language is a silver bullet and any of them can go badly wrong, which is trivially obvious and not a productive addition to the discussion. If you have specific criticisms of this approach, that would be much more constructive.
Re:How Go helped save HealthCare.gov by yesdocs on Tuesday November 10, 2020 @10:06AM (#25046748)
When you claim history is ‘not productive’, you have taken the fool’s path.