Ruby On Rails Classroom image

Neeraj  Amoli / Professional / Web Technology

 
To post your Question Join Classroom
 
Lesson Topics's No:-  First|1 | 2 | 3 | 4|
Lessons:- Adding a Page

Of course, it’s never a bad idea to take a look at the page in a browser to make sure our tests aren’t completely crazy (Figure 3.8).

Refactor

Now that we’ve gotten to Green, we are free to refactor our code with confidence. Oftentimes code will start to ‘‘smell,’’ meaning that it gets ugly, bloated, or filled with repetition. The computer doesn’t care, of course, but humans do, so it is important to keep the code base clean by refactoring frequently. Having a good test suite is an invaluable tool in this regard, because it dramatically lowers the probability of introducing bugs while refactoring.

        Our sample app is a little too small to refactor right now, but code smell seeps in at every crack, so we won’t have to wait long: We’ll already get busy refactoring in Section 3.3.4.  

 

 

 

 
 
 
image
Neeraj  Amoli

Skills    Ruby On Rails

Qualifications :-
Location :-Dehradun,Dehradun,Uttrakhand,India
Description:-

I have 3 year experience as a Software Engineer. My Skilled are Android Development (Java), ROR Development .   


Explore
 

  Students (0)