Home iOS & Swift Books Living by the Code

28
An Interview with Raúl Raja Martínez Written by Enrique López-Mañas

Heads up... You're reading this book for free, with parts of this chapter shown beyond this point as scrambled text.

You can unlock the rest of this book, and our entire catalogue of books and videos, with a raywenderlich.com Professional subscription.

Raúl is a co-founder and CTO of 47 Degrees and a member of the Scala Center’s Advisory board. As a functional programming enthusiast and experienced engineer, he is a creator, maintainer, and frequent contributor to many well-known open-source libraries. He frequently speaks at technology conferences around the world and has developed free training assets to help ease the learning curve of a variety of programming languages and their related toolsets.

Raúl Raja Martínez
Raúl Raja Martínez

Connect with Raúl

Twitter: @raulraja

LinkedIn: /in/raulraja

Website: 47deg.com/team/raul

GitHub: github.com/raulraja

Interview

You’re an influential voice in the industry. You co-founded 47 Degrees, and you’re a contributor to the open-source community as well as several different projects. What are you reading or listening to these days?

I do a fair amount of both. I listen to most of the Functional Programming podcasts. I listen to three or four podcasts a week, and I do a lot of reading online. As I am developing and looking for documentation, I get interested in a topic. Then I go down the rabbit hole. When I see a new book that interests me, I pick it up, especially if it’s about Idris, Haskell, Scala, or coding. I also read a lot of short stories and comics.

What podcasts or books have had a lasting impact on your work?

When I was a kid in Spain, I read a book in Catalan called, L’esquelet de La Balena by David Cirici. It’s about a near-future when teenagers are stranded in the forest and technology helps them survive. As a teen reading this book, I realized there was a lot more out there than my kid’s world. That got me interested in technology and learning more about computers.

How would you explain Functional Programming to a newcomer?

Functional Programming is coding with functions and creating pure functions. Pure functions are those that, given an input, always produce the same output. They are deterministic in their behavior, and they produce no observable effects on the external world. For example, if you insert a record in a database, every time you load the function and insert the record, it’s going to produce an effect in the world. That would be an impure function. If you wrap that same computation into a data type, that function would no longer produce the effect. Instead, it produces a pure value to get a reasonable path around composing these other pure values. Finally, it executes safely when you’re ready. That’s what Functional Programming is about. It’s about programming with pure values that are composable, and they are created out of pure functions that produce no side effects.

Raúl’s Recommendation

  • Essentialism: The Disciplined Pursuit of Less | Greg McKeown

Have a technical question? Want to report a bug? You can ask questions and report bugs to the book authors in our official book forum here.

Have feedback to share about the online reading experience? If you have feedback about the UI, UX, highlighting, or other features of our online readers, you can send them to the design team with the form below:

© 2021 Razeware LLC

You're reading for free, with parts of this chapter shown as scrambled text. Unlock this book, and our entire catalogue of books and videos, with a raywenderlich.com Professional subscription.

Unlock Now

To highlight or take notes, you’ll need to own this book in a subscription or purchased by itself.