> For the complete documentation index, see [llms.txt](https://yoan-thirion.gitbook.io/knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yoan-thirion.gitbook.io/knowledge-base/software-craftsmanship/code-katas/write-s.o.l.i.d-code.md).

# Write S.O.L.I.D code

Learn how to write S.O.L.I.D Object Oriented code

## Objectives

* Understand what is “S.O.L.I.D”
* Learn how to use those principles through hands-on

Workshop designed using 4C model (support provided) :

* **Connection** : Bad code / Good code
* **Concepts** : Slide deck
* **Concrete** **Practice** :&#x20;
  * Bad code / Good code part 2
  * Hands on code katas : [**https://github.com/ythirion/solid-kata**](https://github.com/ythirion/solid-kata)
* **Conclusion** : Where do you stand ?

{% embed url="<https://speakerdeck.com/thirion/write-s-dot-o-l-dot-i-d-code>" %}

## Resources

* S.O.L.I.D Cheat Sheet :

![](https://1936518372-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAffO8xa1ZWmgZvfeK2%2F-MKEpXd2czOSbQiFZ0jW%2F-MKEqYKapFEvKQGXFIme%2Fsolid-cheat-sheet.jpg?alt=media\&token=029a4596-97aa-472a-9f1a-a742ad99ab96)

## Resources

* [Why every element of SOLID are wrong](https://speakerdeck.com/tastapod/why-every-element-of-solid-is-wrong)
* [CUPID](https://speakerdeck.com/tastapod/cupid-for-joyful-coding) is the new SOLID
