Coder to Developer

The concept

I liked the blurb on the back:

“This title addresses all of the skills required to effectively design and develop complex applications, including planning, building and developing the application and coding defensively to prevent bugs.”

It suggests that it can bring you from the stage where you focus entirely on the code to the point where you can take in a whole project, make it all work and delight your customers. Mike Gunderloy has 25 years of commercial experience and so has a lot to say.

As he points out in the early chapters, there is a lot of ground to cover. There is everything from actually writing better code, through to planning, risk management, release management and handling your team. He covers all of these areas, providing handy hints and war stories clearly gleaned from hard-won experience.

For example, I liked the way that he sticks to the things that you need to know, even splitting them up into categoories where it makes sense. Gunderloy seems to be as amazed as I am about how m any projects do not use source control, and he lists Three Levels of Source Code Control Enlightenment, from Opening Your Eyes (just six commands and many benefits!), to SCC Journeyman (which he acknowledges may be all many people need), through to Experts Only (which he spends so little time on that it’s difficult to know what the various options he talks about are for).

Windows Coder to Windows Developer?

What you’ve seen so far is praise for the general concept of the book rather than anything very specific. There’s a reason for that. For a general software engineering book, it’s strange that there is such a strong Windows and .Net slant. There is no need for such details and it will reduce its longevity and usefulness. Steve McConnell’s “Code Complete” is ten years old and is still relevant (even though a new edition has just come out). In six months Coder To Developer could well look dated.

There is also a question-mark over the accuracy of some of the information. For example, he credits the the iterative development process to Microsoft and Rational, forgetting Bohem’s spiral model predated both by well over ten years. He seems to be much more fluent in more recent practises like Agile and XP, which is commendable but seemingly lacking the foundations makes it difficult to put these newer methodologies into perspective.

But if you can ignore these problems, there is lots of good advice. He’s pragmatic ? using the good bits of, say, XP without taking the process as gospel ? and the writing is accessible and friendly. Even disagreeing with some of the early chapters, I still persevered as it wasn’t a dense or difficult read.

The facts

Author: Mike Gunderloy

Cost: $29.99

ISBN: 0-7821-4327-X.

Buy from Amazon.co.uk.

Why don’t developers read?

Introduction

At the moment I’m reading Steve McConnell’s excellent ‘Professional Software Engineering,’ in which he talks extensively about creating a genuine software engineering profession. I believe that this is a great aim and, although I disagree with him on some points, I think the basic premise is both a good idea and inevitable.

However, that is not the point that I want to talk about, although it is related. It’s the fact that, even though I work in a relatively professional organisation, almost no-one here reads computer science books. Sure, there are piles of guides to complex Oracle stuff, C++ this and XML that, but there are no books around on how the whole process should work.

Is there a good reason for that, or are we all really lazy or unprofessional?

Professionalism

I think one of the main reasons is that Software Engineering just isn’t a very professional profession. As I mention above, I work for an organisation with a pretty good reputation for delivering, but most of the people do not come from a computer science or software engineering background.

Bearing in mind the current skills crisis that’s hardly surprising, but is it very wise? Does having more of the wrong people actually help in the long term? (If you work in IT and don’t have a computer science background, I should point out that I’m not advocating a blanket ban. Bear with me for a couple of paragraphs.)

Try and compare what software engineers do with another discipline, say building houses. In IT people are expected to move from testing, to development, to low-level design up to architectural design and requirements analysis. But that’s not how it works elsewhere.

An architect has to study many years at university before being allowed to design a bridge. After a few years hacking together simple programs a software developer may be allowed to design a system. True, a bad computer system is unlikely to be life threatening but it can cost a lot of money. Why take the risk?

What does this have to do with books?

I don’t think that an IT industry split with an elite of architects at the top and developers at the bottom is either workable or desirable, but I do think that we all need to be a little more ‘professional.’ One of the first steps on that road is for people to be familiar with the best practices of the industry and the easiest way to do that is to read.

Knowing where to start can be difficult, especially if you read a different subject at University. As a starting point, my suggested reading list is here.

My list here is not full of dull, academic books, although there are some. Nor is it mainly a list of development books, you need to know some history to put everything into perspective. I just think that all these are valuable and, generally, readable. All IT people at all levels should read most of them.

I’m especially interested in people’s opinions of this list. I’m not as widely read as I’d like, so suggestions are always welcome!

Code Complete,” Steve McConnell

Code complete is one of those books that does the job so well it has no obvious competition. It describes the complete coding process right from low level design through to unit testing and, while most people would have been very prescriptive, McConnell outlines the pros and cons of each approach. If you’re looking for a rational discussion on whether or not you should use a goto in your program, this is the book for you. This book went ten years without an update and the recently released second edition, although extensively rewritten, is, in many ways, not very different (replace the word “function” with “method” and you’re done — almost!). This is not so much a criticism of the new edition as much as praise for the original.

Professional Software Engineering,” Steve McConnell

I make no apologies for choosing another Steve McConnell book. He’s the editor of IEEE Software so it’s not just me that thinks he knows his stuff! This book, as I mention above, talks about creating a real software engineering profession and leaving behind the far too common code-and-fix method that many people are still using. It’s organised as a number of essays, so you can dip into it, but it’s well worth reading cover to cover.

The Mythical Man Month,” Fred Brooks

If you’ve not heard of this book, I’m surprised that you’ve read this far. There should be no need for me to discuss it’s subject matter. If you’ve not read it, you should have.

Accidental Empires,” Robert X. Cringely

I did warn you that not all the books were academic, computer science books. Cringely used to be a writer for Infoworld and so was just the right man to document how the microcomputer industry came about. It’s full of interesting anecdotes, such as millionaire Bill Gates accepting a quarter from a stranger because he couldn’t find a money off coupon, and is well worth investing in.

In the beginning was the command line…” Neal Stephenson

Many people will also consider this to be an odd choice. This is less a book and more a rant about all the different current operating systems, from MacOS to Linux. But the reason you should read it is that its description on why Unix is as it is is the best I’ve seen. Even if you’re quite happy with Windows, you should be aware of the competition.

Cathedral and the Bazaar,” Eric Raymond

Most of the other books here cover the traditional “waterfall” software development model (or at least some derivation of it such as the spiral model). Open-source software has shown that a formal methodology isn’t the only way of doing things. Eric Raymond documents the process and tells paid software developers why it won’t put them out of a job.

Peopleware,” Tom DeMarco and T. Lister

When I first wrote this piece I left this book in the “bubbling under” section, but as time has gone on I have realised that it was more important than I first thought.

Also bubbling under are: Hackers, Debugging the Development Process, OpenSources and Being Digital.

Note: The links above all go to Amazon.com. If you’re in the UK then it’s much cheaper to buy them at Amazon.co.uk. Here are some quick links for all the books mentioned: Code Complete, After the Gold Rush, The Mythical Man Month, Accidental Empires, In the beginning was the command line… and Cathedral and the Bazaar.

About the pictures

Introduction

So that you can believe what you see, I just wanted to talk you through the process I go through to get some beautiful parts of the world conveniently into your web browser.

It starts with a camera…

I have three cameras, two of them being traditional film-based models and the last one a digital.

The oldest images (pre-2001) were taken on a Canon Sureshot 70 Zoom. It has automatic-just-about-everything and a 35-70mm zoom lens. I have two SLR bodies which, with the exception of EF-S glass, I can use the same lenses on both machines. The first is a Canon EOS300, the second is a Digital Rebel, known in the UK as an EOS300D.

Both film camera use standard 35mm film. (APS is more expensive and lower quality; doesn’t sound like a winning formula to me.) All of the pictures taken on the Sureshot have been taken on Kodak Gold (ISO400) film and processed in a normal mini-lab. I’ve used a wider variety of film in the EOS and the type used is generally noted on the relevant page. Except for low-light shots, I always use ISO100 with the digital.

And then we go digital…

I have two scanners: a flat-bed and a film scanner.

I’ve had the flat-bed for a while and all the early content has been digitised using this machine. It was described by John Lewis as “end of the line” and not suitable for colour pictures, but I saw the price and figured that I had nothing to lose! It only scans reflective material, so I’ve had to scan prints, even when I’ve been using slide film. I scan at 300dpi in 24-bit colour (the scanner works at 30-bit). For 7.5×5 prints, this results in images around 2200×1400 pixels and, invariably, bad colours.

I got bored adjusting the colours eventually and finally decided on a Minolta Scan Dual II, a slide scanner. This one works at 2820dpi which results in images 3840×2514 pixels. But the main distinguishing feature is the much better colour.

Once I’ve scanned all the pictures in I tend to archive them all to CD. I save them in PNG format (losslessly compressed, unlike JPEG) and also a directory of smaller images and thumbnails. The smaller images are used on this website, too.

The last step is to create some captions for the images. I’ve been through a number of schemes, but the one I’ve settled on at the moment is Brendt Wohlberg’s PhotoML, an XML image description DTD. It’s very thorough (far more so than I require in fact) and comes highly recommended. Have a look here if you’re interested: PhotoML Website. I’ve been using Apple’s iPhoto for the pure digital pictures so far, but that might change once I’ve played around with it a bit longer.

You’ll notice that I don’t talk about image manipulation, and there is a good reason for that. The only Photoshop-style wizardry going on here is the adjustment of contrast, levels, orientation and the removal of scratches, dust or other imperfections on the film.

The First $20 Million Is Always The Hardest

Introduction

A tip: if you’re going to read this book, don’t flip through to the back and read the ‘Authors note.’ It doesn’t actually give away the story, but there are clues that you won’t want to know. I should know, that’s what I did.

Fortunately, although you can predict the tone of the end of the book, there are more than a few surprises in store.

But I’m getting ahead of myself.

What is the story about?

La Honda is a small, non-profit research centre. They design the biggest, most powerful computers in exchange for sponsorship. The biggest sponsor is a semiconductor company called Omega Logic Corporation, a small competitor to Intel, and they’re relying on the La Honda team to design the next generation chip, the 686.

Andy Caspar, a new recruit, wants to work on this project but, for reasons that only become apparent when you read the book, he’s not allowed to start there and ends up working on a $300 computer. He soon become the subject of ridicule — this is not the kind of project that La Honda are supposed to do. It’s not big, it’s not sexy and it’s not what Omega want.

Andy is eventually hounded out and ends up starting his own company along with the people he managed to lure onto the project at La Honda and the occasional help of his next-door neighbour, Alisa. A battle of wit’s ensues, La Honda and real life against Andy’s tiny start-up,

But what’s it like?

Brosnen obviously knows what he’s talking about. In “$20M” he’s managed to weave a suitably convincing yarn about fictional companies while still leaving the real Silicon Valley (and Redmond based) companies intact. In fact, some of the comments about Microsoft are particularly relevant at the moment.

He also knows the kind of people that work in the computer industry. Even though I work five and a half thousand miles from Silicon Valley, I know people like each of the main characters. They’re likeable and true to life, although some way short of Douglas Coupland’s characters in Microserfs.

And finally, although the life of a start-up seems to involve one good idea, a few people and a fantastic number of long nights in front of a computer — which might have it’s moments but wouldn’t make good reading — Brosnen manages to inject a certain amount of humour and style into the prose. He’s in there with the character rather than criticising them as would have been so easy for a mainstream journalist to do (he writes for, among others, Wired).

Overall

If you’re sick of yet more high-powered books on C++ and CORBA, and need a little light reading, then “$20 Million” might just fit the bill.

You rarely see this kind of thing in real life without actually doing it yourself. This book might be the best, lowest risk way of finding out what its like to be in a high-tech start-up. It’s easy to read, true to life and fun. Not the best book I’ve ever read, but definitely worth a trip to Amazon.

The facts

Author: Po Brosnen

Cost: £6.99

ISBN: 0-09-926828-0

Buy this book from Amazon.com of from Amazon.co.uk.

Cuba, 2004

The way I saw it, Cuba had to be visited before Castro dies. And then, two days before I fly, I see headlines in the Evening Standard: Castro has fallen and has been hospitalised. Did I get the timing wrong?

No it turns out. He’s still alive and well, locals still talk about him with a hushed reverence normally reserved for religious leaders. The other bonus of arriving in late October is that the flood of winter tourists has yet to start and it’s still in the high twenties.

Overall it’s very varied. We covered quite a distance, everything from the grandeur and squalor of Havana, to the colonial delights of Trinidad to sleeping outside a hacienda half way up a mountain in the South East and the limestone pillars in the West. Exhausting but worth it.

Havana is one of those cities with shady squares and twisty back-street that you can happily aimlessly wander around for hours. Those 50s American cars you see in the pictures really are there, although once inside you realise that the romantic imagery doesn’t quite match up to the practicalities (they’re noisy and uncomfortable).

The smaller towns were more aesthetically consistent and the locals more friendly. It was difficult going for a drink without finding yourself being dragged onto the dance floor. They just don’t believe you when you say you can’t Salsa…

In the mountains we saw Fidel and Che Guevara’s hide-away and a spike shoved up a pigs bum for our spit-roasted dinner. In Viñales we saw limestone columns, red-clay soil and tobacco growing in the fields.

Click the small pictures below for a full size version. All the full size pictures are optimised for a 1024×768 display and are in 24-bit colour. All images are copyright and my permission is required for any use.

All pictures here have been taken on my EOS300D with the 18-55mm lens. Many of the outdoor pictures were taken using a polarising filter. If anyone currently in Cuba finds my skylight filter can then please return it!

If the pictures have piqued your interest, there are a few resources that you might want to have a look out for:

  • Switching allegiances this time, I bought the Rough Guide to Cuba. While having less pictures, the text was significantly more detailed.
  • I only found the Cuba Portal on my return but it has lots of information on places that I visted.

Are Your Lights On?

Introduction

I work in the IT services industry. What this means is that I work for various clients using my technical skills to solve their problems.

One thing that no-one mentions while you’re at university, planning to go into this industry, is that most of the problems you come across are not technical in nature. Problems with computers are usually fairly tractable and can be solved, even if not elegantly, by anyone who is interested enough to have a go. It’s the other, people problems that are tricky.

And it is for these problems that I though I could do with a hand: a book about more effectively solving problems. It sounds suspiciously like one of those nasty self-help books, but it’s co-written by Gerald Weinberg (of “Psychology of Computer Programming” fame) so I figured it wouldn’t be all bad.

What’s in it?

The book is split into six sections, each drilling down into particular parts of the problem solving process. In itself this might be quite interesting: solving problems is a process, not necessarily just occasional inspiration. Like any process, once you’re aware of it, you can practise and get better at it.

In one section the authors talk about what the problem really is. At first it sounds silly — you solve problems every day so surely you can identify one! — but the more they explain it and the more you think about it, the more it makes sense. At each point in their explanation, they enhance your understanding with case studies or examples, and often key phrases get their own paragraph highlighted in bold (“Don’t leap to conclusions, but don’t ignore your first impression”).

This level of detail extends throughout the book. They know that some of it sounds silly, but equally realise that you probably do need to know about.

On the downside

For such a small book, there’s a lot of useful information. The hints are relevant and easy to understand. However, I found it all to be an irritating experience. It took me a couple of months to finish and it’s not because I’m a slow reader!

The fact that many of the “case-studies” are incredibly twee makes the whole experience incredibly irritating; I hated the style so much that I nearly didn’t finish it. That would have been a shame.

I’d like to think that the reason I didn’t “get it” was because I’m too old, that format could work quite well in a school book, but I don’t think that school-children would get much from a book about some computer programmers and someone who wanted to fix a lift. It really is a book with content aimed at adults and a style developed for children.

Conclusion

So the conclusion is somewhat mixed: there’s useful stuff in there if you can survive the style. Personally I preferred the more academic, less strictly relevant “Conceptual Block-busting.”

The facts

Author: Donald C. Gause and Gerald M. Weinberg

Cost: $13.95

ISBN: 0-932633-16-1

Buy this book from Amazon.com. Unfortunately it no longer appears to be available from Amazon.co.uk.

Photography, opinions and other random ramblings by Stephen Darlington