Can you see there is a contradiction in that phrase?Tom Joe wrote:. . . mandatory to use lambdas and streams wherever it is advisable to do so ? . . .
Campbell Ritchie wrote:
Can you see there is a contradiction in that phrase?Tom Joe wrote:. . . mandatory to use lambdas and streams wherever it is advisable to do so ? . . .
Maybe I should ask you whether you are advising people that even if it ain't broke, they should fix it regardless?
Adding to our λs forum.
That wouldn't remove the ambiguity.Tom Joe wrote:. . . I should have used feasible instead of advisable.
I think Paul's suggestion is far better. Experiment with old code, preferably on a trial server, and see what happens. See how you can get rid of loops, for example by replacing the code with loops in the discussion of histograms by Streams throughout.Perhaps old code could be left untouched . . .
Campbell Ritchie wrote:. . .
All things are lawful, but not all things are profitable.
Joseph Mokenela wrote:For a quick review on Lambdas, you can checkout the following Java 8 Lamdba basics