Giter Site home page Giter Site logo

codelytv / refactoring-code_smells-design_patterns Goto Github PK

View Code? Open in Web Editor NEW
555.0 10.0 128.0 4.74 MB

♻️ Example projects illustrating Code Smells in order to apply Refactoring techniques

Home Page: https://codely.tv/pro/cursos

JavaScript 9.85% TypeScript 9.51% HTML 0.53% Makefile 0.65% Java 16.04% Shell 0.10% Dockerfile 0.52% Rust 2.31% CSS 2.19% PHP 55.59% Twig 2.71%
refactoring refactorings code-smells clean-code refactoring-kata refactoring-exercise java php javascript design-patterns

refactoring-code_smells-design_patterns's Introduction

Refactoring from Code Smells to Clean Code
🧼💩 🔜 🌈🦄

CodelyTV Open Source CodelyTV Pro Courses

Showcase of the refactorings and code smells catalog illustrated with practical examples in different programming languages.

🎥 View refactoring course · ⭐ Star this repository · ☝️ Propose an example

🧠 Concepts

💩 Code Smells

These are what we could consider as potential bad practices. Things such as long methods, nested conditionals, feature envy, and so on 😊

The different Code Smells are grouped based on the following taxonomy (source) where you will find each one of the single examples:

  • Bloaters: Something that has grown so large that it cannot be effectively handled
  • Object-Orientation Abusers: Solutions that does not fully exploit the possibilities of object-oriented design
  • Change Preventers: hinder changing or further developing the software
  • Dispensables: Something unnecessary that should be removed from the source code
  • Couplers: Promotes coupling (knowledge particularities) between different classes

🧼 Refactorings

👷‍ Work in progress

🌈 Examples

👷‍ Work in progress

🤯 How to explore this repository

You have the following 3 main folders:

  • 💩 Code Smells
  • 🧼 Refactorings
  • 🌈 Examples

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.

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.

👌 Examples completeness

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.

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.

🤝 Contributing

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 😊

refactoring-code_smells-design_patterns's People

Contributors

adrianliz avatar alexoner03 avatar fabriziofs avatar isaac1024 avatar javiercane avatar leanwit avatar luru-eb avatar lurumad avatar mikybars avatar mmorenoregalado avatar nuria-fl avatar oflorez1381 avatar rgomezcasas avatar rorepoid avatar santakadev avatar solvingproblemswithtechnology avatar xetxeberria avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

refactoring-code_smells-design_patterns's Issues

Refactoring

I am looking for refactoring, if this code has some place where refactoring is needed, I would be happy to help.

pushear nueva solucion TDD tiered pricing

Hola, querria subir mi solucion en C# a Solutions de tiered_pricing, en c# pero me da error de permisos, access denied, the requested URL returned error: 403

Entiendo que quizás esta ya cerrada para más aportaciones?

Gracias!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.