Review: protect your very valuable software

Clase 15 de 25Curso para Developers en Inglés (2020)

Resumen

Hagamos un nuevo repaso de los conceptos previamente estudiados.

ConceptDefinition
Refactoring your designRefactoring is the process of modifying the structure of your code, without modifying its behavior.
SRP Single Responsibility PrincipleEvery object in your system should have a single responsibility, and all the object’s services should be focused on that single responsibility
Refactoring and Standup meetingsRefactoring is the process of modifying the structure of your code, without modifying its behavior.
DRY Don’t Repeat YourselfDRY is about having each piece of information and behavior in your system in a specific, single place. The DRY principle is a principle of Software Development aimed at reducing the repetition of information of all kinds.
Definition is doneWhen everything is complete, then you have a definition, it’s done.
Ship out / Release Software with Quality and ValueYour Software must always have awesome quality and awesome value, aim at Perfection, and settle for Functionality.
Defend your software from yourself and your peersTest Driven Development (TDD) is all about writing your code with testing in mind. It’s about writing tests before any code and letting these Tests drive your Implementation.
Technique #1 - Version Control with your code repositoryVersion Control is a great technology you can use, it’s one of the best Defensive tools. Version Control lets you create a repository to keep your code in a single place to ease backup and recovery.
Technique #2 – Control your dependenciesYou need to find a way to keep things independent, but work together at the same time to make testing easier. You need to find a way to apply Independent Tests. Create Mock Objects to do this.
Functional TestingYour tests need to guarantee your Software’s optimal Functionality.
T_echnique #3 – Always Exercise your Code-Unit Testing_Unit testing is all about creating tests that run automatically to test the smallest components of the code for their business logic.
Technique #4 – Let your peers understand your Code-Document it! To form your Customers of any changes you have made to the code, document your changes and analyze them along with your peers. Keep them informed with reasons.

Todos estos conceptos están relacionados con el cuidado profesional de tu software. Procura emplear algunas técnicas de cuidado del código fuente de tu proyecto, lo agradecerás en el futuro.


Contribución creada por Kevin Fiorentino con aportes de Erwin Alan Frías Martínez.