
Clean Code – How to Write Amazing Functions
Coding Blocks
00:00
The Stepdown Rule
The worst methods i've ever written in my life have all been refactors of existing code. You can't just refactor it a new method. You've really got to start thinking about, do i need to create another class that'll do this? And then does that need to have another class that does some other things? Aand it becomes a major effort. O yeswe we can describe the function by describing it as a brief, two paragraph, making it a verb, rit om the er. That's te killer comet and a call out.
Transcript
Play full episode