Email the Author

You can use this page to email Christopher Okhravi (PhD) about The Object Oriented Way.

Please include an email address so the author can respond to your query

This message will be sent to Christopher Okhravi (PhD)

This site is protected by reCAPTCHA and the Google  Privacy Policy and  Terms of Service apply.

About the Book

Have you ever wondered why there are so many rules in object oriented programming?

I asked myself that question a decade ago. This book is the result of everything I’ve learned since.

I'm Christopher Okhravi (PhD), a Senior Lecturer at Uppsala University and a YouTuber with over 150,000 followers. I’ve spent the last ten years decoding OOP — so you don’t have to.

This is a practical, language-agnostic guide to OOP. It gives you mental models to reason about complexity and choose the right abstraction at the right time.

I use it in my own teaching. Now, it can be yours.

🔒 Buy Now and Unlock Private Community Access

When you buy the book, you’ll get exclusive access to a private community where you can:

  • ✅ Ask questions and get feedback.
  • ✅ Showcase your apps and ideas.
  • ✅ Learn alongside other developers.

🥇 #1 on LeanPub. Top 10 for months.

The feedback has been overwhelming:

  • "I've been coding for almost a decade, and I've never seen these concepts explained this well.”
  • "This is one of the best pieces of advice.”
  • "Wow! Such a clean and logical delivery!"
  • "Finally, I get the concept after using it for so many years without fully understanding it."
  • "No one will forget this now."
  • "I name you the OOP maestro 🥂"

🧠 What You’ll Learn

Inside, you’ll learn how to think about OOP — not just memorize it.

  • When to use subtypes instead of objects.
  • When to choose dependency injection over instantiation.
  • When to use interfaces or composition over inheritance.
  • How strategies, delegates, and higher-order functions solve the same problem.
  • How bridge is like a strategy within a strategy.
  • How dependency injection and replacing conditionals with polymorphism lead to dependency inversion.
  • How observables are like events, observers like delegates, and how they all relate to asynchronous and reactive programming.
  • How iterators and enumerables relate to streams and infinite lists.
  • How the visitor pattern is like pattern matching.
  • How Variance is the key to the Liskov Substitution Principle and what it enables.
  • And more…

🙋‍♂️ Frequently Asked Questions

📘 Is this too advanced for me? No. We start from the very basics. No assumptions, no jargon walls. You don’t even need to know what a class is.

🧠 Is this too simple for me? No. The book scales up. Skip the chapters you find easy. Even seasoned developers find the book enlightening.

📦 Will there be a paperback version? Possibly. If the digital version does well, a paperback could follow. Buying early helps make that happen.

⏳ Why buy before it’s complete? Because early buyers get exclusive access to a private community where you can ask questions, share your projects, and learn directly from me and other readers.

🔑 How do I join the private community? Instructions are included in the email you get after purchasing.

📅 When will the final version be done? The book is being released chapter by chapter, and updates are frequent. Your purchase includes all future updates at no cost.


About the Author

Christopher Okhravi (PhD)’s avatar Christopher Okhravi (PhD)

@chrokh

I am a university lecturer (Uppsala University, Sweden) by day and a YouTuber by night.

I have been teaching object oriented programming to university students for over a decade and I hold a PhD in Information Systems (where I used Haskell to model policy interventions for antibiotics development as financial contracts).

On YouTube I am most famous for my deep diving playlist on Object Oriented Design Patterns but am uploading content on anything from functional programming to architecture.

I love abstractions and this is why I love programming.

I write simple books because that's what we all deserve :)

You can reach me at: author@theobjectorientedway.com

Logo white 96 67 2x

Publish Early, Publish Often

  • Path
  • There are many paths, but the one you're on right now on Leanpub is:
  • The-object-oriented-way › Email Author › New
    • READERS
    • Newsletters
    • Weekly Sale
    • Monthly Sale
    • Store
    • Home
    • Redeem a Token
    • Search
    • Support
    • Leanpub FAQ
    • Leanpub Author FAQ
    • Search our Help Center
    • How to Contact Us
    • FRONTMATTER PODCAST
    • Featured Episode
    • Episode List
    • MEMBERSHIPS
    • Reader Memberships
    • Department Reader Memberships
    • Author Memberships
    • Your Membership
    • COMPANY
    • About
    • About Leanpub
    • Blog
    • Contact
    • Press
    • Essays
    • AI Services
    • Imagine a world...
    • Manifesto
    • More
    • Partner Program
    • Causes
    • Accessibility
    • AUTHORS
    • Write and Publish on Leanpub
    • Create a Book
    • Create a Bundle
    • Create a Course
    • Create a Track
    • Testimonials
    • Why Leanpub
    • Services
    • TranslateAI
    • TranslateWord
    • TranslateEPUB
    • PublishWord
    • Publish on Amazon
    • CourseAI
    • GlobalAuthor
    • Marketing Packages
    • IndexAI
    • Author Newsletter
    • The Leanpub Author Update
    • Author Support
    • Author Help Center
    • Leanpub Authors Forum
    • The Leanpub Manual
    • Supported Languages
    • The LFM Manual
    • Markua Manual
    • API Docs
    • Organizations
    • Learn More
    • Sign Up
    • LEGAL
    • Terms of Service
    • Copyright Policy
    • Privacy Policy
    • Refund Policy

*   *   *

Leanpub is copyright © 2010-2025 Ruboss Technology Corp.
All rights reserved.

This site is protected by reCAPTCHA
and the Google  Privacy Policy and  Terms of Service apply.

Leanpub requires cookies in order to provide you the best experience. Dismiss