Functional Design and Architecture: Interview with Alexander Granin - Deepstash
Functional Design and Architecture: Interview with Alexander Granin

Functional Design and Architecture: Interview with Alexander Granin


Keep reading for FREE

We recently had the chance to speak with Alexander Granin , who is a software architect, international speaker, researcher and active member of the C++ and Haskell communities about his upcoming book Functional Design and Architecture and the evolution of Haskell in the past decade.


146 reads

We'd like to start by learning a bit about your journey as a developer and author.

My IT career started more than 15 years ago. I was a C++ developer for most of my professional path. But my true passion was functional programming. I fell in love with Haskell 10 years ago, and it was my favorite hobby language until I moved to the position of Haskell consultant 4 years ago. I started investigating functional programming in Haskell and C++, and I found a big world of new great ideas. I was writing articles, giving talks, and my goal was to popularize functional programming among developers.


17 reads

What prompted you to write a guide to software engineering using Haskell?

There was something that I realized quite soon. Haskell is an amazing, very influential, and even meme language that offers really breakthrough concepts. However, it turned out that we don’t have an understanding of how to build real programs, how to apply those ideas to everyday tasks, and what software engineering in Haskell looks like. I started researching this topic. I was the first with this intent in Haskell, so I decided to write a book that I knew will say its word in the industry sooner or later.


20 reads

Why do you think this book is important for developers to read?

We know much about object-oriented programming. There are design patterns, design principles, software architectures, and ready solutions - all this forms a complete story of software design in OOP languages. But we don’t have anything equal in functional programming. There were takes on this or that for sure, but nothing that comprehensive and systematic. Authors do their best to observe separate techniques and ideas, but there is no complete story of what approaches we have in functional programming and how to apply them for real tasks


13 reads

There is Object-Oriented Design (OOD) for OO languages, and in my book, I’m suggesting its counterpart for the functional world. I call it Functional Declarative Design. The importance of this topic is clear: it’s a new direction of software engineering, and learning will definitely be a good idea for everyone, not only for functional developers.


11 reads

Who would you recommend it to?

Haskell in this book is a model language, but we’re making the first two parts of the book approachable to all functional developers. A basic and intermediate Haskell will be needed in further, still, the book contains a lot of ideas universally applicable to Scala, F#, Elm, OCaml, PureScript. I believe the book will be useful to senior software engineers and software architects having a certain FP background, but maybe my book is more than that. My hope is that it becomes a must-have book for many developers from many stacks.


10 reads

What’s your opinion about the evolution of Haskell in the past decade and why do you think now it’s a good time to learn Haskell?

Learning Haskell was a great idea long ago since Haskell 2010 was established. Haskell gives a completely different perspective on writing the code, and this makes you a better developer. But if this is not convincing enough, then I would say that ideas from Haskell leak into all the main languages: Scala, C++, C#, JavaScript, Java, Kotlin, Rust. Not metaphorically, but literally; for example, C++20 has concepts - a direct adoption of Haskell’s type classes.


10 reads

Haskell is on its slow but steady rise. In 2020, Haskell Foundation was established - an organization that aims to popularize and support Haskell in industry. We see the increasing number of job positions on the market , and even more: there is a lack of professional Haskell developers today. Manning Publications has also contributed to this growth quite much: books by Will Kurt ( Get Programming in Haskell ) and Vitaly Bragilevsky ( Haskell in Depth ) are very good and practical: a property that was in big demand in the Haskell community according to annual surveys.


11 reads

I believe my book will be a great next step for Haskell and for functional programming in general, so yes, I’m very sure that Haskell is worth learning today.

We would like to thank Alexander for chatting with us, we hope to have inspired our readers to start or continue their Haskell journey. You can get early access to Alexander's book Functional Design and Architecture here . Use our code nlfuncwrks21 at checkout to get 35% off.


10 reads



building @tellimer. #engineering, #machinelearning and #crypto

Ready for the next level?

Read Like a Pro


Explore the World’s

Best Ideas

200,000+ ideas on pretty much any topic. Created by the smartest people around & well-organized so you can explore at will.

An Idea for Everything

Explore the biggest library of insights. And we've infused it with powerful filtering tools so you can easily find what you need.

Knowledge Library

Powerful Saving & Organizational Tools

Save ideas for later reading, for personalized stashes, or for remembering it later.

# Personal Growth

Take Your Ideas


Organize your ideas & listen on the go. And with Pro, there are no limits.

Listen on the go

Just press play and we take care of the words.

Never worry about spotty connections

No Internet access? No problem. Within the mobile app, all your ideas are available, even when offline.

Get Organized with Stashes

Ideas for your next work project? Quotes that inspire you? Put them in the right place so you never lose them.


2 Million Stashers



5,740 Reviews

App Store



72,690 Reviews

Google Play

Ashley Anthony

This app is LOADED with RELEVANT, HELPFUL, AND EDUCATIONAL material. It is creatively intellectual, yet minimal enough to not overstimulate and create a learning block. I am exceptionally impressed with this app!

Shankul Varada

Best app ever! You heard it right. This app has helped me get back on my quest to get things done while equipping myself with knowledge everyday.

Sean Green

Great interesting short snippets of informative articles. Highly recommended to anyone who loves information and lacks patience.


Don’t look further if you love learning new things. A refreshing concept that provides quick ideas for busy thought leaders.

Giovanna Scalzone

Brilliant. It feels fresh and encouraging. So many interesting pieces of information that are just enough to absorb and apply. So happy I found this.

Jamyson Haug

Great for quick bits of information and interesting ideas around whatever topics you are interested in. Visually, it looks great as well.

Laetitia Berton

I have only been using it for a few days now, but I have found answers to questions I had never consciously formulated, or to problems I face everyday at work or at home. I wish I had found this earlier, highly recommended!

Ghazala Begum

Even five minutes a day will improve your thinking. I've come across new ideas and learnt to improve existing ways to become more motivated, confident and happier.

Read & Learn

20x Faster





Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving & library

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Personalized recommendations


Claim Your Limited Offer

Get Deepstash Pro