Thursday, 22 September 2011

Edward Jeremy Paul Grenyer

Date: Tuesday 20th September 2011
Time: 6.34pm.
Weight: 7lb 1oz

An Introduction to the WPF with the MVVM - Part 2

Originally published in CVu.

In part 1 of An Introduction to the Windows Presentation Foundation with Model-View-ViewModel I introduced the Canon application. I used it to introduce you to simple WPF UI development and the Model-View-ViewModel pattern including simple binding and commands.

Part 2 is focused around making the GUI look more aesthetically pleasing and introducing menus and tool bars and demonstrating system commands. I'll start off by introducing images.

Read More

Parts 1 & 2 combined can be found here.

Clean Code

by Robert C. Martin
ISBN: 978-0132350884

I knew this was going to be an excellent book from the moment I heard Uncle Bob describing his ideas of Clean Code at his key note at an ACCU conference. I bought the book there and then, but didn't start reading it until a couple of years later. More recently I got it signed by Uncle Bob at Skillsmatter. After just a few pages it propelled itself into my top three books every programmer should read (behind Kent Beck's Test Driven Development and The Pragmatic Programmer by Andy Hunt & David Thomas) and at the end it's still there.

The chapter on comments is worth the price of the book alone. I have worked in places over the last few years, where comments have been encouraged to explain the code, rather than writing code that explains itself. Another great chapter is the one on functions and the advice to keep them small is especially good and compelling. As I look back over the table of contents now, every chapter that describes how to improve an aspect of code is an absolute mine of good advice.

The final few chapters contain a number of refactorings. One on an application from the ground up and the others on existing code written by other people. This is the only place where the book got gratuitous and I must admit I skipped most of the final refactoring.

The final chapter is a summary of the advice given in the rest of the book and something I will find myself referring to again and again.

If you've read Test Driven Development and The Pragmatic Programmer, make sure you read Clean Code next.

Wednesday, 7 September 2011

Our House Is For Sale (Again)

3 bedroom town house for sale
Marauder Road,Old Catton,Norwich,NR6

MODERN 3 story home in Catton which features living room with Juliet balcony, separate dining room, kitchen/breakfast room, downstairs cloakroom, 3/4 bedrooms with en-suite shower room to master, bathroom, gardens, parking & garage. CALL LINK UP PROPERTIES ON (01603) 76 40 40 TO VIEW.

See this property on rightmove.co.uk