Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 817 Bytes

20190626-PHPVigo-Refactor.md

File metadata and controls

24 lines (16 loc) · 817 Bytes

Refactor cotidiano: La regla del campamento

26-06-2019

by Fran Iglesias @talkingbit1

Notas:

  • Book "The Nature of Software Development by Ron Jeffries"
  • "Everyday refactor is opportunistic"
  • Regla campamento es la regla del boyscout: Always leave the campground cleaner than you found it.
  • Book: "The Pragmatic Programmer by Andy Hunt, Dave Thomas"

Katas:

link: https://github.com/franiglesias/refactor

1.- Borrar comentarios: historia narrada en paralelo a la del código, los comentarios mienten con el tiempo. (https://github.com/franiglesias/refactor)
2.- Eliminar complejidad reduciendo niveles de indentacion. (Early return)
3.- Arquitectura de cadena de responsabilidad.
4.- ValueObjects (https://franiglesias.github.io/ejercicio-de-refactor-2/)

NOTAS: Split de workflows en phpstorm