---
title: "Discussion on \"SOLID Principle In Typescript\" | Hashnode"
description: "Discussion on \"SOLID Principle In Typescript\". S: Single Responsibility Principle\nA class or function should have one and the only reason to change. Each class should do one thing & do it well. Instead of thinking that we should split code because it would look cleaner in a single file, we split ..."
url: "https://hashnode.com/posts/solid-principle-in-typescript/637a76edc9637546532b99b9"
---

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

Discussion

# [SOLID Principle In Typescript](https://mitchellyuen.hashnode.dev/solid-principle-in-typescript?utm_source=hashnode&utm_medium=feed)

S: Single Responsibility Principle A class or function should have one and the only reason to change. Each class should do one thing & do it well. Instead of thinking that we should split code because it would look cleaner in a single file, we split ...

Nov 20, 2022 · 2 min read · mitchellyuen.hashnode.dev  
Read the article

-   [#solid](https://hashnode.com/tag/solid)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#clean-code](https://hashnode.com/tag/clean-code)

## Written by

[Mitchell Yuen](https://hashnode.com/@mitchellyuen)

@mitchellyuen

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

Senior Tech lead

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
