You should use getter/setter.You should use getter/setter.You should use getter/setter.If you don’t, you are not a good programmer. Really?
This is part 3 of the article. Check out Part 1 and Part 2.
From Part 2, you’ve seen that the Scala approach is generally shorter than the Java approach when you want to manipulate either collections or…
This is part 2 of the article. If you want to start from 1, you can click here.
Stream vs. Collection?Let’s start with a short and incomplete description by me :), a collection is a finite set of data while a stream is a sequenced set of…
Finally, after several years of waiting, Java 8 comes with higher-order functions I love Java but I have to admit that Java syntax is quite verbose compared to other modern languages. Now, with lambda expressions, I can write code that is shorter while still readable (sometimes…