|
|
|
|
|
by jayd16
2386 days ago
|
|
Java not having operator overloads as a design choice explains the majority of your complaints. Generics are built around type erasure and as such generics treat the type as Object at runtime. Primitives cannot be treated this way. The reason its not a simple fix is because the language designers are not willing to break compatibility to make this happen. The style complaints are an artifact of Java being a popular corporate language but there's no reason you need to write Java this way. |
|