Skip to content

Commit 81ce71f

Browse files
authored
Explain the repo purpose and structure
1 parent a0d323f commit 81ce71f

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed

README.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<p align="center">
2+
<a href="http://codely.tv">
3+
<img src="http://codely.tv/wp-content/uploads/2016/05/cropped-logo-codelyTV.png" width="192px" height="192px"/>
4+
</a>
5+
</p>
6+
7+
<h1 align="center">
8+
Refactoring from Code Smells to Clean Code
9+
<br />
10+
🧼💩 🔜 🌈🦄
11+
</h1>
12+
13+
<p align="center">
14+
<a href="https://github.com/CodelyTV"><img src="https://img.shields.io/badge/CodelyTV-OS-green.svg?style=flat-square" alt="CodelyTV Open Source"/></a>
15+
<a href="http://codely.tv/pro/cursos"><img src="https://img.shields.io/badge/CodelyTV-PRO-black.svg?style=flat-square" alt="CodelyTV Pro Courses"/></a>
16+
</p>
17+
18+
<p align="center">
19+
Showcase of the refactorings and code smells catalog illustrated with practical examples in different programming languages.
20+
<br />
21+
<br />
22+
<a href="https://pro.codely.tv/library/refactoring-code-smells-clean-code-bloaters/">🎥 View refactoring course</a>
23+
·
24+
<a href="https://github.com/CodelyTV/refactoring-code-smells/stargazers">⭐ Star this repository</a>
25+
·
26+
<a href="https://github.com/CodelyTV/php-ddd-example/issues">☝️ Propose an example</a>
27+
</p>
28+
29+
## 🧠 Concepts
30+
31+
### 💩 Code Smells
32+
33+
These are what we could consider as potential bad practices. Things such as long methods, nested conditionals, feature envy, and so on 😊
34+
35+
The different Code Smells are grouped based on the following taxonomy ([source](http://mikamantyla.eu/BadCodeSmellsTaxonomy.html)) where you will find each one of the single examples:
36+
37+
* Bloaters: Something that has grown so large that it cannot be effectively handled
38+
* Object-Orientation Abusers: Solutions that does not fully exploit the possibilities of object-oriented design
39+
* Change Preventers: hinder changing or further developing the software
40+
* Dispensables: Something unnecessary that should be removed from the source code
41+
* Couplers: Promotes coupling (knowledge particularities) between different classes
42+
43+
### 🧼 Refactorings
44+
45+
👷‍ Work in progress
46+
47+
### 🌈 Examples
48+
49+
👷‍ Work in progress
50+
51+
## 🤯 How to explore this repository
52+
53+
You have the following 3 main folders:
54+
55+
* 💩 Code Smells
56+
* 🧼 Refactorings
57+
* 🌈 Examples
58+
59+
The purpose of this repository is to illustrate with some _🌈 Examples_ how we can detect _💩 Code Smells_ and evolve a specific code applying _🧼 Refactorings_ technics.
60+
61+
That is the reason why the code will always be located in the _🌈 Examples_ folder with a folder for each of its possible evolutions, and linked from the _💩 Code Smells_ and _🧼 Refactorings_ directories using symbolic links.
62+
63+
## 👌 Examples completeness
64+
65+
The examples you will find in this repository are completely operational projects that you can open up in your IDE and start refactoring executing the provided test suite.
66+
67+
That is, we understand that in order to have a better learning experience, you must have the whole picture of the specific code snippet you actually want to analyze. This gives you the freedom to modify it right away after cloning this project without having to worry about _boilerplaty aspects_.
68+
69+
## 🤝 Contributing
70+
71+
Feel free to open an issue explaining how you want to contribute before starting out coding and we will help you figuring out the best way to approach it 😊

0 commit comments

Comments
 (0)