Functional Programming
-
Software Development
On Tail Call Optimisation
If you are interested in functional programming as many of our craftspeople are, you will have heard talk about tail…
Read More » -
Core Java
Functional vs Imperative Programming. Fibonacci, Prime and Factorial in Java 8
There are multiple programming styles/paradigms, but two well-known ones are Imperative and Functional. Imperative programming is the most dominant paradigm…
Read More » -
Core Java
Functional Data Structures in Java 8 with Javaslang
Java 8’s lambdas (λ) empower us to create wonderful API’s. They incredibly increase the expressiveness of the language. Javaslang leveraged…
Read More » -
Core Java
Functional programming for Java: getting started with Javaslang
Java is an old language and there are many new kids in the block who are challenging it on its…
Read More » -
Core Java
Beware of Functional Programming in Java!
This isn’t going to be a rant about functional programming, which is awesome. This is a warning about some practices…
Read More » -
Core Java
Stack safe recursion in Java
In this article, excerpted from the book Functional Programming in Java, I explain how to use recursion while avoiding the…
Read More » -
Core Java
Comparing Imperative and Functional Algorithms in Java 8
Mario Fusco’s popular tweet impressively shows what the main difference between imperative and functional approaches to similar algorithms really is:…
Read More » -
Core Java
How to use Java 8 Functional Programming to Generate an Alphabetic Sequence
I’ve stumbled upon an interesting Stack Overflow question by user “mip”. The question was: I’m looking for a way of…
Read More » -
Core Java
From Imperative to Pure-Functional and Back Again: Monads vs. Scoped Continuations
This post accompanies this video and won’t make too much sense without it Last month I gave a talk at the…
Read More »