DiscoverGoRails ScreencastsRefactoring Local Variables To Methods
Refactoring Local Variables To Methods

Refactoring Local Variables To Methods

Update: 2024-05-06
Share

Description

Sometimes you write code to get a feature working and stop there. With a little refactoring, you can extract local variables into methods that make testing and extending easier.
Comments 
loading
00:00
00:00
1.0x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Refactoring Local Variables To Methods

Refactoring Local Variables To Methods

chris@gorails.com (Chris Oliver)