Refactoring, Part 1
Objectives
During this activity:
-
Students shall do a class presentation of different code
refactorings.
This activity helps the student develop the following skills, values
and attitudes: self-learning, proficiency in English, ability to
analyze, synthesize and evaluate, and critical thinking.
Activity Description
Individually, each student shall do a class presentation of the
following specific code refactorings. Please refer to
[FOWLER]
for complete information on each refactoring.
- Extract Method: Manuel Alejandro Magaña Torres (February 23)
- Inline Method: José Omar Pérez Martínez (February 23)
- Replace Temp with Query: Claudia Alicia Bellido García (February 23)
- Introduce Explaining Variable: Irais Cruz Hernández (February 23)
- Split Temporary Variable: Aldo Rodrigo García Mendiburu (March 2)
- Remove Assignments to Parameters: Rubén Alberto Medellín Cuevas (March 2)
- Substitute Algorithm: Alberto Alonso Luna Vicenteño (March 2)
- Replace Method with Method Object: Iván Emmanuel Salazar y Vera (March 2)
Each presentation must meet the following requirements:
- It must be completely in English.
- It must last between 5 and 10 minutes.
- It must include:
- General description
- Motivation
- Mechanics
- At least one example using C#
- You may use the whiteboard, flip charts, handouts, laptop/projector,
etc. as audio visual aids.
- You must allow 2 or 3 minutes for questions (additional to the 5-10
minutes of presentation time)
Evaluation
This activity will be considered as 1/3 of your second quarter exam
grade. Elements that will be taken into account during the evaluation
include: knowledge of the topic, clarity of the presentation, quality
of support materials, fluency and pronounciation.