Tagged as Programming
Thursday, December 13, 2012 Beck's rules of simple code
I'm currently reading Clean Code: A Handbook of Agile Software Craftsmanship by Robert C. Martin. The book references Kent Beck's rules of simple code which I thought I would share. In priority order, simple code: Runs all the tests Contains no duplication Expresses all the design ideas that are in the system Minimises the number of entities such...
Read more »Tuesday, August 21, 2012 Getting started with Command Line Interface (CLI)
I have always preferred using Graphic User Interface (GUI) to Command Line Interface (CLI). However, I know that a lot of developers prefer CLI so I thought I would take a look at it. There's a nice article here summarising the pros and cons of GUI versus CLI. Listed below are commands for some basic operations in Windows CLI. A complete A to Z reference can be found here. To get st...
Read more »Thursday, February 16, 2012 DRY (Don't Repeat Yourself) programming
I'm capturing this here for my own reference, but it may be useful to others. In software engineering, Don't Repeat Yourself (DRY) is a principle of software development aimed at reducing repetition of information of all kinds, especially useful in multi-tier architectures. The DRY principle is stated as "Every piece of knowledge must have a single, unambiguous, authoritative r...
Read more »