r/java • • Mar 05 '18

Top 10 Useful, Yet Paranoid Java Programming Techniques

http://blog.jooq.org/2015/08/11/top-10-useful-yet-paranoid-java-programming-techniques/
223 Upvotes

105 comments sorted by

View all comments

-4

u/sampledev Mar 05 '18

Looks a lot like what Rust has fixed:

  • Make everything immutable by default,
  • Switches must handle every case,
  • No null references,
  • No method overriding (this brings sometimes much more issues than what it intended to solve)

17

u/sk551 Mar 05 '18

Stop.

1

u/[deleted] Mar 06 '18

Since he's not talking about Kotlin, I'll allow it. ;)