One of the best sites for practicing functional programming, in my opinion, is Exercism. I thought it would be fun to compare an exercise that is available in multiple languages. The idea here is to show that by programming in a language that is more ‘functional’, it can lead you to think about how you could implement something in a language you don’t normally think of as functional. In general, a functional solution is almost always a better approach. Here’s the ‘Twofer’ exercise: Two-fer or 2-fer is short for two for one. One for you and one for me. Given a name, return a string with the message: One for X, one for me.......