---
title: "Discussion on \"SOLID Principals in Programming\" | Hashnode"
description: "Discussion on \"SOLID Principals in Programming\". SRP: Single Responsibility Principle\nA class should have one and only one reason to change. You should be able to define what an application is doing in one single line.\n\nProgram Class:\n\nThe main method initializes a circle, calculates its area, and ..."
url: "https://hashnode.com/posts/solid-principals-in-programming/663f48be19010f55cec5b771"
---

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

Discussion

# [SOLID Principals in Programming](https://codewithmayank.hashnode.dev/solid-principals-in-programming?utm_source=hashnode&utm_medium=feed)

SRP: Single Responsibility Principle A class should have one and only one reason to change. You should be able to define what an application is doing in one single line. Program Class: The main method initializes a circle, calculates its area, and ...

May 11, 2024 · 6 min read · codewithmayank.hashnode.dev  
Read the article

-   [#coding](https://hashnode.com/tag/coding)
-   [#coding-patterns](https://hashnode.com/tag/coding-patterns)
-   [#solid-principles](https://hashnode.com/tag/solid-principles)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)
-   [#software-development](https://hashnode.com/tag/software-development)

## Written by

[Mayank Singh](https://hashnode.com/@mayank1014)

@mayank1014

  
[View profile](https://hashnode.com/@mayank1014)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
