I’ve run a series of posts on functional programming for Java developers, and had actually planned to stop it at part 4, but it turns out I still have (a bit) more to say, so here’s a small appendix (and there’s likely a fifth part coming as well sometime). The first four parts introduced various […]
Tag: Java
Advanced Functional Programming for OO/Java Developers, Part 4: Conditionals, Recursive Functions (Featuring Fancy Fixpoints), Accumulators, and Tail Recursion
This is the fourth and last part in a series of posts introducing functional concepts to OO/Java developers. The first three parts introduced visitors, functional data types, and increasingly sophisticated and powerful continuations. We have used a running example of expression evaluation to illustrate the concepts. In the previous part we set up our expression […]
Advanced Functional Programming for OO/Java Developers, Part 3: Syntactic Sugar, JIT-Compiling, and even More Advanced Continuation Use
This is the third part of a series of posts introducing principles from functional programming to OO developers, primarily using Java. In the first two parts, we covered the visitor pattern and basic use of continuations, as well as functional data structures and more advanced use of continuations. We used a basic example of expression […]
Advanced Functional Programming for OO/Java Developers, Part 2: Functional Data Structures & More Advanced Continuations
This is the second part of a series of posts introducing functional programming principles to OO developers. In the first part, we looked at two design patterns that are less common in the OO world and more common in the functional world, namely the visitor design pattern and the continuation passing style design pattern. These […]
Advanced Functional Programming for OO/Java Developers, Part 1: Visitors & Continuations
A couple of weeks ago, a colleague and I were working on an application that needed to traverse a simple AST. The code came with a bundled visitor for performing the traversal and we needed to transform a simple decision tree model to BPMN using a builder. The implementation was second nature, but left my […]
Spring Webflux and Native for Microservices – Ready for Primetime?
The short answer is no, not yet. For the longer answer read on, including to see when the two actually are ready for primetime. Spring Webflux is a project attempting to fuse Spring MVC and reactive programming. Reactive programming replaces native threads with lightweight threads and cooperative multi-tasking. It is basically like upgrading from Windows […]
Read More… from Spring Webflux and Native for Microservices – Ready for Primetime?