News for hackers. Stuff that matters.
Re:Java 12 by hactually on Tuesday March 19, 2019 @07:40PM (#19437341)
Bit of a Go fan here so just wondered if you'd qualify what you mean by: > without vital features
Re:Java 12 by lenkite on Wednesday March 20, 2019 @01:49AM (#19439389)
Beating a dead horse here - but Streams and Generics are now what I personally consider vital features. Code is much more compact and elegant with the proper application of these two features.
Re:Java 12 by vbezhenar on Wednesday March 20, 2019 @05:47AM (#19440456)
Error handling via exceptions and generics are things that I can't live without. Go moves in that direction, as far as I understand, generics are expected in the next versions of Go and error handling somewhat improved, so may be it'll be good enough after few years, but I just can't write current Go after Java, it's like running with chained legs.
Re:Java 12 by apta on Friday March 22, 2019 @01:42AM (#19459902)
Other than what the other posters mentioned, you have things like annotations in Java that allow for cool features such as validation and constraints, and auto translation between types. This is extremely verbose and error prone in golang because no such mechanism exists.
Re:Java 12 by ilovecaching on Tuesday March 19, 2019 @07:52PM (#19437437)
Vital features is double speak for any Java feature that isn’t in Go.