---
title: "Discussion on \"Object-Oriented Programming explained using a Pizza Hut customer-care agent. Yeah, you read that right.\" | Hashnode"
description: "Discussion on \"Object-Oriented Programming explained using a Pizza Hut customer-care agent. Yeah, you read that right.\". Me: Hello? Hello? oh hi, I am Anthony and I am calling in to know if you have some pepperoni pizza? This is XYZ pizza store right? \nAgent: Yes Mr. Anthony, can you give me a second. Oh sorry sir, we do not have pepperoni pizza. \n\nThe dialogue above i..."
url: "https://hashnode.com/posts/object-oriented-programming-explained-using-a-pizza-hut-customer-care-agent-yeah-you-read-that-right/5fdf6d441485f22e24b3626c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Object-Oriented Programming explained using a Pizza Hut customer-care agent. Yeah, you read that right.](https://legal-debugger.hashnode.dev/object-oriented-programming-explained-using-a-pizza-hut-customer-care-agent-yeah-you-read-that-right?utm_source=hashnode&utm_medium=feed)

Me: Hello? Hello? oh hi, I am Anthony and I am calling in to know if you have some pepperoni pizza? This is XYZ pizza store right? Agent: Yes Mr. Anthony, can you give me a second. Oh sorry sir, we do not have pepperoni pizza. The dialogue above i...

Dec 20, 2020 · 9 min read · legal-debugger.hashnode.dev  
Updated Dec 21, 2020  
Read the article

-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#oop](https://hashnode.com/tag/oop)
-   [#ruby](https://hashnode.com/tag/ruby)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)

## Written by

[Tony Nta](https://hashnode.com/@legal-debugger)

@legal-debugger · Abuja, Nigeria

  
[View profile](https://hashnode.com/@legal-debugger)

I love learning and teaching and learning and teaching and.... you get the point :)

## Responses 2

Markdown supported · ⌘↵ to post

[Muhammed Aliyu](https://hashnode.com/@Andromadus)

[Dec 21, 2020](https://hashnode.com/posts/object-oriented-programming-explained-using-a-pizza-hut-customer-care-agent-yeah-you-read-that-right/5fdf6d441485f22e24b3626c/comment/5fe02474b78ac62dff80e82c)

Nice article, @Toni. The Feynman principle makes a lot of since. I understood it when I started teaching programming late last year...

And by the way, I could see a typo in your screenshots... You declare a class named Pizza\_Hut but when creating new object out of it, you keep referring to the Phone\_Company's constructor...

Is there anything I'm missing?

@AtherosX

[Tony Nta](https://hashnode.com/@legal-debugger)

[Dec 21, 2020](https://hashnode.com/posts/object-oriented-programming-explained-using-a-pizza-hut-customer-care-agent-yeah-you-read-that-right/5fdf6d441485f22e24b3626c/comment/5fe02474b78ac62dff80e82c#reply-5fe0ef43fbf9845cf8bd8236)

Thanks for the read bro. Its def a type, lol. Fixing it now.

[Tony Nta](https://hashnode.com/@legal-debugger)

[Dec 21, 2020](https://hashnode.com/posts/object-oriented-programming-explained-using-a-pizza-hut-customer-care-agent-yeah-you-read-that-right/5fdf6d441485f22e24b3626c/comment/5fe02474b78ac62dff80e82c#reply-5fe0f2eb0134f65eed0c9047)

Typo's fixed.

[Deborah Emeni](https://hashnode.com/@DeborahEmeni)

[Dec 20, 2020](https://hashnode.com/posts/object-oriented-programming-explained-using-a-pizza-hut-customer-care-agent-yeah-you-read-that-right/5fdf6d441485f22e24b3626c/comment/5fdf7f8ab78ac62dff80df2a)

Awesome article ❤️❤️
