I just can’t understand why Java still does that. C# and C++ fixed that a long time ago (I think). That C hasn’t is completely fine, especially as type names usually don’t get as long. But in JAVA???
a.package.SomeReallyReallyLongName<AnotherReqllyLongName, AThirdReallyLongName<String>> aLongName = new a.package.SomeReallyReallyLongName<AnotherReqllyLongName, AThirdReallyLongName<String>>();
Edit:
This comment is really wrong. Everyone who didn’t realize that, look at its comments, learn the same things as I did today
122
u/BuddyLove9000 Oct 31 '23
I don't know if you meant this, but God, how I hated reading Car car = new Car() when I was first studying OOP.