In his session at Devoxx UK 2017, Michał Płachta gives us a A Pragmatist’s Guide to Functional Geekery. Basic functional concepts like immutable data, second-order functions, lambdas and function composition can already be found in the modern programmer’s toolkit. During this talk you will learn about more advanced functional concepts and how they can solve real problems. I […]

Read more
16 Jan

What are some of the unexpected features of lambdas? We interviewed expert Peter Lawrey at Devoxx Belgium 2016 to talk about some of the more unusual features of lamdbas. To see Peter’s talk at Devoxx Belgium 2016, see below: Lambda Puzzlers What is the difference between capturing and non-capturing lambdas? What are some of the […]

Read more

In the first article of this series, we started investigating how the most common GoF patterns can be reviewed and reimplemented in a cleaner and more concise way by leveraging the new functional features introduced with Java 8. In this second part, we will continue this process and revisit two other widely used GoF patterns: […]

Read more

By Stefan Bulzan With the advent of lambdas in Java we now have a new tool to better design our code. Of course, the first step is using streams, method references and other neat features introduced in Java 8. Going forward I think the next step is to revisit the well established Design Patterns and see […]

Read more

We all have used design pattern in Java for decades. Most of those patterns were influenced by the capability of the language. The capability of the language, however, got better with Java 8. With lambdas, we will use some design patterns differently than before. There are other design patterns that we can use now that […]

Read more

By Artur Mkrtchyan There are multiple programming styles/paradigms, but two well-known ones are Imperative and Functional. Imperative programming is the most dominant paradigm as nearly all mainstream languages (C++, Java, C#) have been promoting it. But in the last few years functional programming started to gain attention. One of the main driving factors is that simply […]

Read more

By Eric Ward Overview In this post, we’ll take a look at filtering and manipulating objects in a Collection using Java 8 lambdas, streams, and aggregates.  All code in this post is available in BitBucket here. For this example we’ll create a number of objects that represent servers in our IT infrastructure.  We’ll add these objects […]

Read more

Does the mooted September 22nd  2016 release date for REPL packing Java 9 seem more odious than the Star Wars Episode VII countdown? (52 days, 12 hours, 13 minutes and 46 seconds at time of publication, in case you were wondering.) Has the thrill of pleasure you got from unpacking Java lambdas already dissipated, leaving your […]

Read more

A couple of weeks back we took a detailed look into default methods – a feature introduced in Java 8 which allows to give interface methods an implementation, i.e. a method body, and thus define behavior in an interface. This feature was introduced to enable interface evolution. In the context of the JDK this meant […]

Read more

As any Java user will be more than aware, platform security is certainly nothing to be taken to granted. This week, Oracle have issued their Q3 wave of critical patch updates (154 in all), with 25 directed at Java. Along with plugs for a series of library issues, the CPU contains fixes targeting security and […]

Read more