Feeds

Acquiring Code Craft

How to be crafty, and good, at coding

Secure remote control for conventional and virtual desktops

Book review Books on programming language x, technology y, and methodology z are 10 a penny. Bookshop shelves groan under the weight of books promising to teach programming x, y or z in 21 days, 7 days, 24 hours, 10 minutes, 30 seconds...

Developers are not exempt from the lure of instant wisdom and there are plenty of publishers and authors ready with promises of fast roads to gurudom.

On the other hand, books devoted to the everyday craft of programming are far less common, particularly those that seek to impart the hard lessons gained from long experience churning out code in the real world. Peter Goodliffe's Code Craft is definitely in the latter camp, aiming to be a hard-copy mentor to those just starting out in the world of professional programming.

Adopting a no-nonsense tone from the outset, Goodliffe seeks to guide the reader into the ways of the world – at least that part of the world he calls the "code face". To this end, he looks at all aspects of development, from coding through to design, architecture, source control, code reviews, requirements, and more. It's a fairly broad sweep, of course, but Goodliffe addresses the issues from a developer perspective throughout.

Whether it's looking at fundamental religious questions – code layout, braces, spaces versus tabs, variable names, casing of identifiers – or looking at processes and methods such as code reviews or the best use of software configuration management, the book keeps to a central theme: how can I as a developer do the best job I can in less than ideal circumstances? The emphasis is firmly on pointing out the costs and benefits of different approaches and highlighting those that work most successfully.

Inevitably, a book like this is fairly agnostic when it comes to the specifics of programming languages, platforms, and even methodologies (for example agile versus RUP). Good practices transcend the specifics of particular languages. Where there's code it tends to be in C++ or Java, but the snippets are generic enough to be intelligible no matter what language you use.

In addition to the core text, Goodliffe supplements his material with key concepts, cartoons, lists of things to think about, specific things to do, and ends every chapter with a check-list that describes those things that differentiate good programmers from bad.

It should be clear that there's a lot to commend this book. The writing is good (though the author should never have been allowed near a dictionary of quotations), and the advice is generally spot on. In many respects this book sits directly alongside one of the classics of programming literature: Steve McConnell's Code Complete. The two books have similar concerns and offer much of the same advice. In McConnell's case, his book has a slightly more serious tone and is backed up with plenty of references, research studies, and academic papers.

The best developers are always looking for ways to improve their skills, both in terms of learning about their tools and languages, and in learning from other developers what works and why. While this book won't displace Code Complete, it's a worthy addition to the literature of self-improvement that all serious developers should explore.

Code Craft

Code Craft

Verdict: Packs a lot of valuable advice

Author: Peter Goodliffe

Publisher: No Starch Press

ISBN: 1593271190

Media: Book

List Price: £38.99

Current Reg price: £18.59

Buy this book at Register Books at Reg Developer's special discounted price! ®

The essential guide to IT transformation

More from The Register

next story
The Return of BSOD: Does ANYONE trust Microsoft patches?
Sysadmins, you're either fighting fires or seen as incompetents now
Munich considers dumping Linux for ... GULP ... Windows!
Give a penguinista a hug, the Outlook's not good for open source's poster child
Intel's Raspberry Pi rival Galileo can now run Windows
Behold the Internet of Things. Wintel Things
Linux Foundation says many Linux admins and engineers are certifiable
Floats exam program to help IT employers lock up talent
Microsoft cries UNINSTALL in the wake of Blue Screens of Death™
Cache crash causes contained choloric calamity
Eat up Martha! Microsoft slings handwriting recog into OneNote on Android
Freehand input on non-Windows kit for the first time
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Top 10 endpoint backup mistakes
Avoid the ten endpoint backup mistakes to ensure that your critical corporate data is protected and end user productivity is improved.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
Rethinking backup and recovery in the modern data center
Combining intelligence, operational analytics, and automation to enable efficient, data-driven IT organizations using the HP ABR approach.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.