O'Reilly logo

Test-Driven Java Development - Second Edition by Viktor Farcic, Alex Garcia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

TDD and Functional Programming – A Perfect Match

"Any sufficiently advanced technology is indistinguishable from magic."
– Arthur C. Clarke

All of the code examples that we have seen so far in this book follow a particular programming paradigm: object-oriented programming (OOP). This paradigm has monopolized the software industry for a long time and the majority of software companies have adopted OOP as the standard way of programming. However the fact that OOP has become the most used paradigm does not mean it is the only one that exists. In fact, there are more that are worth mentioning, but this chapter is going to focus only on one of them: functional programming. Additionally, this book's language is Java, so all code snippets and examples ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required