MCR-Digital / apprentice-boot-camp-fundamentals-2

Slides:
https://mcr-digital.github.io/apprentice-boot-camp-fundamentals-2/
Creative Commons Attribution Share Alike 4.0 International
0 stars 48 forks source link

Move extract constants before extract variable #86

Open mrmanc opened 2 years ago

mrmanc commented 2 years ago

Pros: the C# and JS gang might have more to do during this exercise—they generally do this bit during the Extract Variable exercise

Con: the current flow introduces rework that can be useful highlighting the value of the inline refactor, to remove variables which were later also extracted as constants