1 of 90

Refactorizar sin test 😱

y no morir en el intento

2 of 90

💃

3 of 90

💃

Martes por la mañana

4 of 90

👩‍💻

Revisando el backlog

5 of 90

🤦‍♀️

LA TAREA

6 of 90

🍝

Añadir funcionalidad en…

7 of 90

🤔

¿Qué hago?

8 of 90

🙏

Rezar para no romper nada

9 of 90

📝

🙏 Rezar para no romper nada�Actualizar el CV

10 of 90

🙈

🙏 Rezar para no romper nada�📝 Actualizar el CV

Haber hecho mejor código

11 of 90

✂️

Refactorzar

12 of 90

⚠️

13 of 90

⚠️

Podemos romper

14 of 90

Podemos romper

Refactors grandes

⚠️

15 of 90

Podemos romper

Refactors grandes

Dejarlo a medias

⚠️

16 of 90

Podemos romper

Refactors grandes

Dejarlo a medias

No entregar la tarea

⚠️

17 of 90

Podemos romper Tener test

Refactors grandes

Dejarlo a medias

No entregar la tarea

⚠️

18 of 90

Podemos romper Tener test

Refactors grandes Focalizar

Dejarlo a medias Focalizar

No entregar la tarea Focalizar

⚠️

19 of 90

Refactorizar sin test 😱

y no morir en el intento

20 of 90

Podemos romper Tener test

Refactors grandes Focalizar

Dejarlo a medias Focalizar

No entregar la tarea Focalizar

⚠️

21 of 90

🤷‍♀️

Hemos sido engañados

22 of 90

¡Tests siempre!

23 of 90

¿Refactorizar sin test?

24 of 90

🤖

25 of 90

🤖

Usar refactors automáticos

26 of 90

27 of 90

🔄

🍏⌥ +

Alt +

Shortcut JetBrains IDEs

Invert and remove conditions

28 of 90

29 of 90

30 of 90

31 of 90

32 of 90

33 of 90

34 of 90

35 of 90

36 of 90

37 of 90

🔀

Introduce parameter object

38 of 90

39 of 90

40 of 90

41 of 90

42 of 90

43 of 90

44 of 90

45 of 90

46 of 90

47 of 90

🤹‍♀️

Move responsibility

48 of 90

49 of 90

🥋

Extract method

🍏⌥ + ⌘ + M

Crtl + Alt + M

Shortcut JetBrains IDEs

50 of 90

51 of 90

52 of 90

🥋

Make static

53 of 90

54 of 90

55 of 90

56 of 90

🥋

Move member

F6

Shortcut JetBrains IDEs

57 of 90

58 of 90

59 of 90

60 of 90

🥋

Safe delete

61 of 90

👀

62 of 90

63 of 90

64 of 90

👀

65 of 90

🚀

66 of 90

Continuará …

67 of 90

👀

68 of 90

👀

69 of 90

🥋

Change access modifier

🍏⌥ +

Alt +

Shortcut JetBrains IDEs

70 of 90

71 of 90

72 of 90

🥋

Introduce parameter

🍏⌥ + ⌘ + P

Ctrl + Alt + P

Shortcut JetBrains IDEs

73 of 90

74 of 90

75 of 90

🥋

Convert to instance method

Crtl + T

Shortcut JetBrains IDEs

76 of 90

77 of 90

78 of 90

79 of 90

🤯

80 of 90

🤔

81 of 90

🧠 Hacer mejor código

📝

82 of 90

🧠 Hacer mejor código + ✅ Test

📝

83 of 90

🧠 Hacer mejor código + ✅ Test

🤖 Refactors automáticos

📝

84 of 90

🧠 Hacer mejor código + ✅ Test

🤖 Refactors automáticos + ✅ Test

📝

85 of 90

🧠 Hacer mejor código + ✅ Test

🤖 Refactors automáticos + ✅ Test

✂️ Refactors pequeños

📝

86 of 90

🧠 Hacer mejor código + ✅ Test

🤖 Refactors automáticos + ✅ Test

✂️ Refactors pequeños + ✅ Test

📝

87 of 90

🔁 Repitelo

💁‍♀️

88 of 90

🔁 Repitelo

💡CTRL + T (JetBrains IDEs)

💁‍♀️

89 of 90

🔁 Repitelo

💡CTRL + T (JetBrains IDEs)

🗒️ Notas de short-cuts

💁‍♀️

90 of 90

@yodralopez

¡Gracias!