You are previewing The Clean Coder.

The Clean Coder

Cover of The Clean Coder by Robert C. Martin Published by Prentice Hall

4. Coding


In a previous book1 I wrote a great deal about the structure and nature of Clean Code. This chapter discusses the act of coding, and the context that surrounds that act.

When I was 18 I could type reasonably well, but I had to look at the keys. I could not type blind. So one evening I spent a few long hours at an IBM 029 keypunch refusing to look at my fingers as I typed a program that I had written on several coding forms. I examined each card after I typed it and discarded those that were typed wrong.

At first I typed quite a few in error. By the end of the evening I was typing them all with near perfection. I realized, during that ...

The best content for your career. Discover unlimited learning on demand for around $1/day.