<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/s-o-l-i-d-principles-around-you-in-javascript-e4miuj3t5" -->

---
title: S.O.L.I.D. Principles around You, in JavaScript | daily.dev
description: The SOLID principles are a set of software design principles, that help us to understand how we can structure our code in order to be robust, maintainable,...
canonical: https://daily.dev/posts/s-o-l-i-d-principles-around-you-in-javascript-e4miuj3t5
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: S.O.L.I.D. Principles around You, in JavaScript | daily.dev
og:description: The SOLID principles are a set of software design principles, that help us to understand how we can structure our code in order to be robust, maintainable,...
og:url: https://daily.dev/posts/s-o-l-i-d-principles-around-you-in-javascript-e4miuj3t5
og:image: https://api.daily.dev/og/posts/e4mIUJ3T5.png
og:image:alt: S.O.L.I.D. Principles around You, in JavaScript
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# S.O.L.I.D. Principles around You, in JavaScript

**[Hashnode](https://daily.dev/sources/hashnode)** · 5 min read · 51 upvotes · 15 comments

## Summary

The SOLID principles are a set of software design principles, that help us to understand how we can structure our code in order to be robust, maintainable, flexible as much as possible 
Here come the  S.O.L.I.D. principles:

S: Single Responsibility
...

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://francescociulla.com/solid-principles-around-you-in-javascript>

## Community discussion

Top comments from developers on daily.dev.

**@florinpop17** · 5 upvotes

> Way to go buddy!

**@codebycorey** · 4 upvotes

> I always try and follow the S.O.L.I.D principles.
>
> Dependency injection is one of my favorite. Makes testing easier.

**@dailydevtips** · 3 upvotes

> Awesome work 🤟

**@ashwinsharmap** · 1 upvotes

> Nice article Francesco👌🏻

**@nirvana372** · 1 upvotes

> Great teaching with exact words. Great post Francisco 👍🏻

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#logging](https://daily.dev/tags/logging)

[View this post on daily.dev](https://daily.dev/posts/s-o-l-i-d-principles-around-you-in-javascript-e4miuj3t5)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"S.O.L.I.D. Principles around You, in JavaScript","url":"https://daily.dev/posts/s-o-l-i-d-principles-around-you-in-javascript-e4miuj3t5","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/s-o-l-i-d-principles-around-you-in-javascript-e4miuj3t5"},"datePublished":"2020-09-29T10:32:09.209Z","dateModified":"2021-10-07T14:17:10.317Z","description":"The SOLID principles are a set of software design principles, that help us to understand how we can structure our code in order to be robust, maintainable,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b58bc30a6c8e6ae12780c509cd83ff96","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b58bc30a6c8e6ae12780c509cd83ff96","isAccessibleForFree":true,"articleSection":"Hashnode","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hashnode","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/4a287b2e7cb5499bae863f8e7137cdb4","url":"https://daily.dev/sources/hashnode"},"commentCount":15,"discussionUrl":"https://daily.dev/posts/s-o-l-i-d-principles-around-you-in-javascript-e4miuj3t5","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":51},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":15}],"keywords":"javascript,logging","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hashnode","item":"https://daily.dev/sources/hashnode"},{"@type":"ListItem","position":3,"name":"S.O.L.I.D. Principles around You, in JavaScript"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/s-o-l-i-d-principles-around-you-in-javascript-e4miuj3t5","comment":[{"@type":"Comment","text":"Way to go buddy!","datePublished":"2020-09-29T12:19:00.242Z","url":"https://daily.dev/posts/e4mIUJ3T5#c-iI_p3JHzS","author":{"@type":"Person","name":"Florin Pop","url":"https://daily.dev/florinpop17","image":"https://avatars1.githubusercontent.com/u/6692364?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5}},{"@type":"Comment","text":"I always try and follow the S.O.L.I.D principles.\nDependency injection is one of my favorite. Makes testing easier.","datePublished":"2020-09-29T19:15:05.758Z","url":"https://daily.dev/posts/e4mIUJ3T5#c-jNdMGIFAS","author":{"@type":"Person","name":"Corey O'Donnell","url":"https://daily.dev/codebycorey","image":"https://avatars2.githubusercontent.com/u/10536895?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4}},{"@type":"Comment","text":"Awesome work 🤟","datePublished":"2020-09-29T15:12:51.751Z","url":"https://daily.dev/posts/e4mIUJ3T5#c-qnrM2Jc9R","author":{"@type":"Person","name":"Chris Bongers","url":"https://daily.dev/dailydevtips","image":"https://media.daily.dev/image/upload/s--9gxFz1e7--/f_auto/v1705902590/avatars/avatar_JUNiIGCV-?_a=BAMAMiZW0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}},{"@type":"Comment","text":"Nice article Francesco👌🏻","datePublished":"2020-09-30T02:10:24.339Z","url":"https://daily.dev/posts/e4mIUJ3T5#c-3AjzwDsBi","author":{"@type":"Person","name":"Ashwin Sharma P","url":"https://daily.dev/ashwinsharmap","image":"https://lh3.googleusercontent.com/a-/AOh14GjNOMqvMevl6f1-RfP0uDrnd7PiW1ufrLgtp7m5=s100"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Great teaching with exact words. Great post Francisco 👍🏻","datePublished":"2020-09-30T06:02:07.690Z","url":"https://daily.dev/posts/e4mIUJ3T5#c-7vQmKgk9A","author":{"@type":"Person","name":"Nirvana Core","url":"https://daily.dev/nirvana372","image":"https://lh3.googleusercontent.com/a-/AOh14GjpbzGxoDkxjwf6ozn1WYNV6Flp2ufQp0wRHjlT=s100"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
```

