Category: English

When I’m so lazy

Posted by – 16/08/2010

For the last weekend (14-15 August 2010) I pretended to be free and I took the last weekend to be my days off that I’ wont be working on uni’s works. I’d been watching films for two days and I’d watched about 9 films which are following (they are not sorted) :

  • Just My Luck
  • Gran.Torino
  • Cash Back
  • Taken
  • Ninja Assassin
  • มังกรหยก ภาค 1 (Chinese Film)
  • เจ้าพ่อเซี่ยงไฮ้ เดอะมูฟวี่ (Chinese Film)
  • เพ็กฮวยเกี่ยม จอมดาบงูทอง (Chinese Film)
  • คนตัดคน 3 (Chinese Film)

There were such the lazy days. Anyway, I’ve found out that watching films is a another way to take a rest and refresh myself. :-)
By the way, some of them could be watched on youtube.

Update: 20:11

My lazy period continues to Monday. I’ve watched other two films which are:

  • The Chronicles of Narnia: Prince Caspian (2008)
  • Braveheart (1995) – This one made me understand why the the guy who stands in front of Edinburgh Castle is so popular because his costume and his appearance look like William Wallace

The day has gone so time for me to get back to do what I’m about to do.

Erawat

Java 4 Ever

Posted by – 27/06/2010

Very funny video about Java against .NET. It would be great, if It’s becoming a real film.

Erawat.

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

Pragmatic Programmer

Posted by – 26/06/2010

I have received a book called “The Pragmatic Programmer“, which is written by Andrew Hunt and David Thomas, from Amazon.co.uk.

Pragmatic Programmer

I suggest that every programmer should read this book. The book is like a bible for programmer which will enable novice programmers to be an effective and productive programmers. Additionally, the book is one of 6 books that programmers should own.

So, This book normally costs £28.99 but I ordered on Amazon.co.uk and the price is reduced to £15.72 which means that I could have £13.27 (46%) (information from Amazon) and I also got FREE delivery in the UK. It took 3 days after I ordered to delivery the book to me at my door.

If I’m going to buy more books, I will use Amazon again because of prices and its service.

Erawat