3 ms·
> Yes, typing can be a pain in languages that don't support inference, e.g Java can be tedious Java has had some type inference for almost 20 years, and local
by pron 3y ago
> Yes, typing can be a pain in languages that don't support inference, e.g Java can be tedious
Java has had some type inference for almost 20 years, and local variable type inference (i.e. `var person1 = newPerson();`) for more than five.
- tasn 3y agoI had no idea, thanks for letting me know. I'll update the post now. Java, I'm sorry for swearing at you all these years. :P
- tstrimple 3y agoI've been in the same position. Modern Java is a solid language. Most "enterprise" companies are still using Java 8 or if you're very lucky Java 12, so you really don't have access to all of the modern functionality and because of that I hated on Java for years. Java programming in the wild is a crap shoot at best.
- Zambyte 3y ago> or if you're very lucky Java 12 You mean 11, right? 12 was not an LTS release, and has been out of support for years. The currently supported LTS releases are 8, 11, 17, and the recent 21 release. https://en.wikipedia.org/wiki/Java_version_history https://en.wikipedia.org/wiki/Java_version_history
- tstrimple 3y agoI'm sure you're right, but I also wouldn't be surprised if it was literally Java 12. I've seen all sorts of insanity in very large organizations.