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

3

u/[deleted] Mar 05 '18

I'd rather add another if statement than use ("value" == variable). Might just be a thing of inertia.

But I'd MUCH rather Java finally implemented null conditional operators...

2

u/lbkulinski Mar 05 '18

Do you mean the Elvis operator?

2

u/[deleted] Mar 05 '18

Yup.

2

u/lbkulinski Mar 05 '18

Brian Goetz talks about it here.

0

u/[deleted] Mar 05 '18

[deleted]

1

u/lbkulinski Mar 05 '18

I wouldn’t be so sure of that, haha. They already have quite a bit in the pipeline.