|
|
|
|
|
by erokar
3839 days ago
|
|
Agreed, enterprisy patterns haven't helped Java. But sorry, no, I do not think it's a good language. It doesn't really do anything well, it's all luke warm and compelcted. It insists on types, but they have no power and are primarlily a typing (sic.) and visual nuisance. It's supposed to be object oriented, but it has primitive types for performance reasons that appear anachronistic today. Yet it insists on everything being a class and thus prohibits simpler data structures. Its support for functional programming is cumbersome and late to the game. Etc. There are so many better alternatives on the JVM now — Coljure, Kotlin, Scala. |
|
a struct, by any other name:
public class Point {
}you can even do binary packed stuff with some fantasy
public class PackedRGBA{