Tag: Software Development

Refactoring

Posted by – 26/06/2010

From the last entry, I mentioned about Refactoring which is a technique that changing a source code of computer application while the application has been being developed.

The Refactoring is about:

  • Improving the design of existing code
  • Refactoring is not supposed to modify/change any behaviour of the existing code

Refactoring increase the cleanness, flexibility and extensibility of the code and it improves the design of the code.

Example of Refactoring:

  • Rename
  • Move classes
  • Extract method
  • Extract superclass

Reference
Agile Software Development, Principles, Patterns, and Practices

Erawat

Test Driven Development

Posted by – 26/06/2010

Today, I opened my notebook and found a short note that I wrote about Test Driven Development which I was trying to summarise the definition and process of it.

Test Driven Development (TDD) is a simple software development technique that can be divided into three simple stages:

  • Write a test first
  • Write the code to make the test pass
  • Repeat (using Refactoring)

Additional details
- Introduction to Test Driven Design (TDD)

Erawat