#object-oriented-thinking
8 articles tagged with #object-oriented-thinking
How all these concepts connect? - Part 8
This final article connects the three series, showing how real-world problems, computational thinking and object-oriented principles form one practical mental model for designing software with a grocery shop example.
How objects relate to each other? - Part 7
This article explains association, aggregation, composition, dependency and inheritance, then applies each relationship to a grocery shop object model so beginners can choose connections deliberately.
What are subtype and subclass polymorphism? - Part 6
This article explains polymorphism through cash, card, wallet and discount examples, comparing subclass and subtype polymorphism and showing why substitutability matters in design for billing software.
What is inheritance? - Part 5
This article explains inheritance through general-to-specific relationships, shop item examples, the is-a test, inherited behaviour and the reasons composition can be safer in practical systems.
What is encapsulation? - Part 4
This article explains encapsulation as responsibility and trust, showing how a bill object protects its state while exposing useful operations to the grocery billing system.
What is abstraction? - Part 3
This article explains abstraction as choosing what matters for a purpose, comparing real-world views with billing, stock and delivery models for the same grocery item.
How do we organize what we know? - Part 2
This article explains classification, generalization, specialization and hierarchy, showing how programmers organize grocery items and discover common concepts before designing software models for beginners today.
How to model the real world with objects? - Part 1
This article introduces object-oriented thinking by modeling a grocery shop as customers, items and bills, then explains objects through identity, state, behaviour and classes for beginners.