My daughter is 6 years old, and she and her classmates are currently learning about various professions. Her teacher asked the kids’ parents whether they would want to come into the classroom and explain their profession in 15 minutes or so. I really liked the idea of inspiring these bright young minds with some fun stories about software development, so I applied and prepared a lesson. Which turned out to be a lot harder than I thought it would be.
We’ve known lambdas and streams since Java 8, and they’ve made Java a more powerful language. In the next few versions of Java, even more features that originated in functional languages will be added, one of which is pattern matching. It provides an elegant way to apply conditions to certain aspects of an object. We set out to investigate the possibilities that were introduced in JEP 305 (‘Pattern Matching for instanceof’) and how the pattern matching roadmap will make Java an even more powerful language.
Posted on 23 May 2020 by Hanno Embregts
Today is Java’s 25th birthday! On the 23rd of May 1995 the language was introduced at the SunWorld conference, in a time where desktop applications reigned supreme and the internet was still in its infancy.
I was interviewed by Peter Kofler on ethics in software development. He asked me some questions and I answered them as follows. A bit of it is about politics, another bit is about religion, but it is mainly about being a responsible software developer. So this time I mixed my personal and professional opinions. Still, I hope it makes for an interesting read!
Software developers are not particularly keen on maintaining build scripts. Sure, they will do their part in making things work and they’ll even have a go at optimizing the most necessary parts. But they prefer to spend their time writing production code using a ‘real language’, because they feel it better supports their desire for maintainability, flexibility and elegance. That old project that’s been gathering dust for ages and relies on thousands lines of Ant code is a case in point.