4 ms·
Java sucks in a lot of ways, but the reasons why it sucks and the methods for mitigating the parts that suck are well-known. On the plus side, you get an ecosys
by oftenwrong 8y ago
Java sucks in a lot of ways, but the reasons why it sucks and the methods for mitigating the parts that suck are well-known. On the plus side, you get an ecosystem with high-quality libraries and tooling that actually come with documentation and examples, you get a good-enough type system to allow reasonably safe and strict development, and you can easily find solutions for any pitfalls you fall into because it's likely 1000+ people have already done the same. As a member of the http://boringtechnology.club/ http://boringtechnology.club/, I embrace Java's warts and enjoy its usefulness.
My advice:
- avoid frameworks like the plague
- write in a functional style
- lean on the type system as much as possible
- don't chase the trendy stuff
- avoid annotations
- use code generation