Search Sreeni's Insights

Filter by content type
Tag

#design-principles

15 articles tagged with #design-principles

crafting February 3, 2015 6 min read

SOLID Principles - Part 2

The remaining SOLID principles, Liskov Substitution, Interface Segregation and Dependency Inversion, explained with practical examples from a fund domain and practical guidance.

#solid #lsp #isp
Read
crafting January 20, 2015 7 min read

SOLID Principles - Part 1

The first two SOLID principles, Single Responsibility and Open/Closed, explained with fund report and fee calculation examples in C#, plus when not to apply them.

#solid #srp #ocp
Read
technical March 6, 2012 8 min read

How to use Dependency Inversion to loosen the coupling? - Part 5

Dependency Inversion is explained with layered and multi-implementation examples, dependency injection, IoC containers, testing benefits and a summary of all the principles.

#maintainable-code #solid #oop
Read
technical February 21, 2012 6 min read

What are the Liskov Substitution and Interface Segregation principles? - Part 4

Liskov Substitution and Interface Segregation are explained with open-ended funds and fixed maturity plans, including the warning signs of a broken hierarchy and how to fix it.

#maintainable-code #solid #oop
Read
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
technical June 28, 2011 9 min read

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.

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

Browse Other Tags

#abstraction #aggregates #ai #ai-assisted-development #aks #algorithms #angular #angular-2 #angularjs #api #api-design #api-documentation #api-gateway #api-management #api-testing #api-versioning #apis #apm #app-service #application-insights #application-monitoring #architecture #architecture-decision-records #arm-templates #asp-net-mvc #aspnet #aspnet-core #aspnet-mvc #async-await #asynchronous #authentication #authorization #automation #azure #azure-app-service #azure-blob-storage #azure-cdn #azure-devops #azure-front-door #azure-functions #azure-key-vault #azure-monitor #azure-redis-cache #azure-resource-manager #azure-search #azure-service-bus #azure-sql #azure-web-app #azure-web-apps #backup #beginners #best-practices #binary #bounded-context #branching #branching-strategy #build-automation #burnout #business-case #caching #career #case-study #cdn #ci-cd #classification #clean-code #cloud #cloud-architecture #cloud-how-to #cloud-migration #cloud-native #cloud-readiness #cloud-security #cloud-solution-architecture #cloud-strategy #cloud-value #cloudflare #cloudflare-workers #code-quality #code-review #coding-practices #communication #compilers #composition #comprehension-debt #computational-thinking #computer-architecture #computer-basics #concurrency #configuration #container-service #containers #context-debt #continuous-integration #contract-testing #conventions #conway-law #cosmos-db #cqrs #csharp #data-access #data-architecture #data-representation #data-structures #datacenter-exit #ddd #defensive-coding #dependencies #dependency-injection #deployment #deployment-slots #design #design-patterns #design-principles #devops #dip #disaster-recovery #distributed-systems #distributed-transactions #dns #docker #docker-compose #documentation-debt #documentdb #domain-driven-design #domain-model #dotcover #dotnet #edge-computing #ef-core #encapsulation #engineering #engineering-practice #engineering-practices #enterprise-architecture #enterprise-integration #entity-framework #entity-framework-core #error-handling #event-driven #event-driven-architecture #event-grid #event-sourcing #events #eventual-consistency #exception-handling #failover #feature-toggles #feedback #finops #first #framework #frontend #frontend-architecture #future-state-architecture #fxcop #git #git-flow #github-flow #god-object #governance #growth #guard-clauses #guardrails #guidelines #hard-coding #helm #high-availability #hosting #http #iaas #idempotency #identity #information-hiding #infrastructure-as-code #inheritance #integration #ioc #isp #java #javascript #json-schema #jwt #key-vault #knowledge-management #kubernetes #language-generations #layered-architecture #leadership #least-privilege #lift-and-shift #linq #logging #logic-apps #lsp #magic-numbers #maintainability #maintainable-code #managed-service-identity #message-queues #messaging #metrics #microservices #migration #mocking #model-dependency-debt #modeling #monitoring #monolith #moq #multi-region #mvc-4 #n-tier #network-security-groups #networking #new-relic #nodejs #nosql #nuget #nunit #oauth #oauth-2 #object-modeling #object-oriented-thinking #object-relationships #observability #ocp #onion-architecture #oop #openid-connect #operating-systems #owin #paas #packages #pact #performance #pipelines #planning #polyglot-persistence #polymorphism #postman #powershell #problem-solving #process #productivity #programming-fundamentals #programming-languages #programming-paradigms #prompt-debt #prompt-engineering #pseudocode #pull-requests #react #real-world-modeling #real-world-problems #redis #refactoring #rehosting #release-management #repository-pattern #resharper #resilience #resiliency #rest #rest-api #rest-assured #retries #rpo #rto #saga #scalability #search #secrets #secure-coding #security #semantic-versioning #sentry #seq #serilog #serverless #service-bus #service-design #service-fabric #skill-debt #sla #software-architecture #software-basics #software-design #software-engineering #software-quality #solid #spa #sre #srp #ssl #static-analysis #storage #strangler-pattern #structured-logging #stylecop #substitutability #swagger #swashbuckle #system-design #tdd #tech-radar #technical-debt #technology-governance #terraform #test-doubles #test-driven-development #testing #thinking-like-a-programmer #traffic-manager #triggers #tutorial #twelve-factor #typescript #uml #understanding-computers-and-programming #unit-of-work #unit-testing #verification-debt #version-control #versioning #visual-studio #visual-studio-online #vsts #web-api #web-architecture #web-development #workflow