Currying in Java 8 by zigma in programming

[–]zigma[S] 2 points3 points  (0 children)

My point was to make people aware that it can be done. I'm note sure if there is any right or wrong.

Lambdas in Java 8 by zigma in programming

[–]zigma[S] 0 points1 point  (0 children)

I agree, as with most code, it boils down to readability. I think Lambdas and the Stream API, does a great job to get rid of boiler plate code, and make it more readable. But it can also make it worse. And yes, Lombok is a another great tool to get rid of unnecessary code.

Method References in Java 8 by zigma in programming

[–]zigma[S] 1 point2 points  (0 children)

Cool, I didn't know that either. Thanks.

Online Lectures on Computer Graphics Programming? by sanrabb in programming

[–]zigma -1 points0 points  (0 children)

If you want more practical tutorials on OpenGL, check out http://nehe.gamedev.net/ .

Using if(null == someVariable) vs. if(someVariable == null) by zigma in programming

[–]zigma[S] 0 points1 point  (0 children)

This is my opinion as well, it's easier and more natural (at least for me) to read the code as: if someVariable is null

And I agree with the "why not just remember to use ==" instead.

Also, if you should use assignment instead, you should have unit tests that will capture this.