Search Sreeni's Insights

Filter by content type

Sreeni's Insights

Lets deep dives into dev careers, software crafting, architecture, system design, AI and real-world industry lessons.

technical February 7, 2012 6 min read

What are the Single Responsibility and Open Closed principles? - Part 3

The Single Responsibility and Open Closed principles are explained with a mutual fund service and exit load rules, with the benefits, techniques and trade-offs of each.

#maintainable-code #solid #oop
Read
technical January 24, 2012 6 min read

How to keep the code simple and the objects in charge? - Part 2

KISS, DRY and YAGNI keep the code simple, while Tell Don't Ask and the Law of Demeter keep the logic near the data, explained with mutual fund redemption and NAV examples.

#maintainable-code #solid #oop
Read
technical January 10, 2012 7 min read

Why does code become hard to maintain? - Part 1

Code becomes hard to maintain when one change breaks unrelated things, so this article explains cohesion, coupling and the four pillars of object oriented design with a mutual fund example.

#maintainable-code #solid #oop
Read
technical October 4, 2011 11 min read

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.

#object-oriented-thinking #oop #design-principles
Read
technical September 20, 2011 8 min read

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.

#object-oriented-thinking #oop #design-principles
Read
technical September 6, 2011 13 min read

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.

#object-oriented-thinking #oop #design-principles
Read
technical August 23, 2011 11 min read

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.

#object-oriented-thinking #oop #design-principles
Read
technical August 9, 2011 13 min read

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.

#object-oriented-thinking #oop #design-principles
Read
technical July 26, 2011 11 min read

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.

#object-oriented-thinking #oop #design-principles
Read
technical July 12, 2011 10 min read

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.

#object-oriented-thinking #oop #design-principles
Read

Sreenivasan Madhaiyan

An accomplished author and publisher, Sreenivasan has written over 10 e-books that inspire and educate readers worldwide.

More Accomplished 10+ e-books
Make a good change in your career
Exceptionally energetic about writing
More About Me
Sreenivasan Madhaiyan

Stay Updated

Get the latest insights on technology, career growth, and industry trends delivered to your inbox.

No spam, ever. Unsubscribe anytime.