Teaching students to build well formed object-oriented methods through refactoring

  • Authors:
  • Sara Stoecklin;Suzanne Smith;Catharina Serino

  • Affiliations:
  • Florida State University, Panama City, Florida;East Tennessee State University, Johnson City, Tennessee;North Carolina Central University, Durham, North Carolina

  • Venue:
  • Proceedings of the 38th SIGCSE technical symposium on Computer science education
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Refactoring is the process of transforming the internal structure of existing code while keeping the integrity of the code's functional requirements. Refactoring is proven to increase program maintainability, flexibility, and understandability and is recognized as a best practice in the software development community. However, with the exception of courses or lectures on extreme programming, refactoring is overlooked in the computer science curriculum. This paper presents the fourth lesson of an innovative pedagogical approach to teaching refactoring on the college level. This lesson covers the creation of well formed object-oriented methods including characteristics for evaluating such methods. Through this hands-on approach, building well formed object-oriented methods through refactoring can be better understood and integrated into the computer science curriculum.