Feeds

Acquiring Code Craft

How to be crafty, and good, at coding

Choosing a cloud hosting partner with confidence

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! ®

Top 5 reasons to deploy VMware with Tegile

More from The Register

next story
Download alert: Nearly ALL top 100 Android, iOS paid apps hacked
Attack of the Clones? Yeah, but much, much scarier – report
You stupid BRICK! PCs running Avast AV can't handle Windows fixes
Fix issued, fingers pointed, forums in flames
Microsoft: Your Linux Docker containers are now OURS to command
New tool lets admins wrangle Linux apps from Windows
Facebook, working on Facebook at Work, works on Facebook. At Work
You don't want your cat or drunk pics at the office
Soz, web devs: Google snatches its Wallet off the table
Killing off web service in 3 months... but app-happy bonkers are fine
First in line to order a Nexus 6? AT&T has a BRICK for you
Black Screen of Death plagues early Google-mobe batch
prev story

Whitepapers

Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
10 ways wire data helps conquer IT complexity
IT teams can automatically detect problems across the IT environment, spot data theft, select unique pieces of transaction payloads to send to a data source, and more.
5 critical considerations for enterprise cloud backup
Key considerations when evaluating cloud backup solutions to ensure adequate protection security and availability of enterprise data.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?