So you have an interest in becoming a test developer, eh? You’ve come to the right place. In this paper I will lay out what I think is the best path to take to becoming a test developer or really any sort of developer. Test developers are really just developers who happen to report in the test org. Becoming a good test developer requires learning not only a programming language but also what to do with it. You’ll need to learn not only C++ but also about operating systems, algorithms, object-oriented programming, etc. Becoming a test dev won’t be easy. It is going to take a lot of reading and a lot of practice. If you stick with the regimen, you’ll be a real developer. You’ll have much of what someone would have if they had acquired a CS degree. If not, well, you’ll be where you are today.
Starting With a Language
The place to start is obviously with a language. If you don’t know how to program, you won’t be much of a programmer. It is important to know, however, that knowing a language is just the beginning. Too many people equate knowing C/C++ with knowing how to program. Sadly, this is not the case. Think of an author as an example. Learning the English vocabulary and the rules of grammar will make you a proficient English speaker. That does not, however, make you a great writer. Mark Twain wasn’t a great writer because he knew how to diagram sentences. Knowing what to say is even more important than knowing how to say it. It is the same way with a programming language. You can know C/C++ forward and backward and still be a bad programmer.
The first decision you should make is what language to use to start your journey. As you progress, you will probably pick up other languages but you have to start somewhere. You should start with a language that encourages you to do the right things. C# is an easy language to begin with. C is simple and easy to learn. C++ is its more complex big brother. Most system-level work is done in C++. That’s probably where you want to start. If something like VB or Perl strike your fancy, you can use them but know that you’ll be limited in where you can utilize your skills.
To learn C++, I recommend starting with a book. The two best ones I know of are C++ Primer by Stanley Lippman and Thinking in C++ by Bruce Eckels. I prefer these over the “24 Hours” or “21 Days” sort of books. They may claim to teach you C++ quickly but they won’t. C++ is huge. It will take some time to master. Pick one and read it cover to cover. Do the exercises if you are that sort of person. These are both thick books. Don’t be intimidated. They’ll both cover everything you need to move onto the next phase of programming.
Don’t stop there though. You need to put this into action for it to make sense. Come up with a project and start implementing it. The project can be anything. Implement a tool you’ve been itching to have, write a game, whatever. I started by trying to implement the game of Robo Rally. I never finished. You might not either. The point isn’t to complete the project. It is to come to an understanding of how the parts work together. Books teach us to program in discrete little packets. Each packet makes sense atomically. The point of writing a real program is to understand how these packets interact.
If you want to become wiser in the ways of C++, there are several other books you might want to read including Effective C++ by Scott Meyers and Inside the C++ Object Model by Stanley Lippman. Neither book is essential but both will help make you a better programmer.
Going Beyond Language
As I said, learning a language is just a first step. Once you are here, you are proficient in some language (C++ most likely). You are conversant in a language. You are still a terrible writer. The next step is to learn what makes a good program.
This is where things get more complicated. Learning pointers is hard but understanding algorithms is harder. If your math is weak, you’ll struggle with some of these concepts. Fear not. None of this is rocket science. It just may take you a bit longer. If necessary, put down the book you are reading, read some math, then come back. This should help you get further. If you run into a roadblock, learn more math and continue until you get through.
There are three major subjects you need to come to understand. The first is data structures and algorithms. The second is operating systems and processors. Finally, there is object-oriented programming. Once you have these three areas understood, you’ll be well on your way to becoming a good programmer.
Algorithms are what make your programs run fast or slow. When you are dealing with only a small amount of data, the algorithm you use doesn’t matter too much. However, when you are dealing with hundreds of thousands or millions of items, the algorithm can matter a lot. It is important to understand the types of algorithms available and to understand how to measure their efficiency. Different ways of sorting would be an example of algorithms. Data structures are ways to organize large amounts of data and maintain accessibility. Examples are linked lists, trees, hash tables, etc. Two books which are used a lot for this are Introduction to Algorithms by Thomas Cormen and Algorithms in C++ by Robert Sedgewick.
Understanding how processors and operating systems work will help you understand why the language and the OS do what they do. Many things that C/C++ do make more sense once you understand how the underlying system works. Understanding the OS and being able to read assembly language will come in invaluable when it comes time to debug. The best OS book I know of is Operating System Concepts by Abraham Silberschatz. It is accessible and covers the critical topics. For processor/assembly topics, look to Computer Organization and Design by David Patterson.
Finally, there is object-oriented programming. Learning about OO techniques will help you understand how to write a program that is maintainable and extensible. The best place to start is with Design Patterns by Gamma et al. I suggest using to book to understand how patterns work in general, not to memorize every pattern. A good book showing the application of patterns and good OO design techniques is Design Patterns Explained by Alan Shalloway.
Where to Next?
So you read all 5,000 pages and you still want more? What can you study next? The tree branches from here. There are lots of possibilities. Some good places to look are for general programming are debugging and good programming practices. You can also start going down a specific path such as windows programming, graphics, ATL/COM programming, etc.
Programmers spend an inordinate amount of time debugging the code they just wrote or even code written by others. Debugging is an art, not a science. The only way to get good at it is practice. There are some books you can read which will give you a jump start though. The best of these is Debugging Applications by John Robbins.
Learning how to become a better programmer also takes practice but there are a few books written which give you some good pointers. I won’t list them all here. Everyone raves about Code Complete by Steve McConnell. I don’t. I find it long-winded. A better book is The Practice of Programming by Brian Kernighan and Rob Pike. Another book which is really useful is Refactoring by Martin Fowler. He explains how to take old code and make it better. Like Design Patterns, I find the first several chapters more useful than the reference that makes up the bulk of the book. Finally, go find a copy of your groups coding standards document. Often times these are chock full of good techniques. They will usually tell you what sort of things to avoid and what good practices to emulate are.
If you decide that self-driven book learning isn’t for you, are there alternatives? Yes. I prefer the classic CS education over professional certificate programs, workshops, or even IT degrees. To that end, I have found a few programs I believe are worthwhile. Each of these will allow you to get a full degree or just take some classes. All are based online.
Cormen, Thomas. Introduction to Algorithms. Thorough introduction to algorithms. The content is often advanced.
Eckels, Bruce. Thinking in C++. Focuses a lot on STL which isn’t used much at Microsoft. You can download a free copy here: http://mindview.net/Books/DownloadSites.
Fowler, Martin. Refactoring. How to spot good and bad code and what to do about the bad stuff.
Gamma, Erich, Richard Helm, Ralph Johnson, John Vlissides. Design Patterns. The first few chapters are the most useful. They will help you understand how OO designs should work.
Kernighan, Brian, Rob Pike. The Practice of Programming. Tips and techniques for being a good programmer from one of the authors of the C language.
Lippman, Stanley. C++ Primer. Great introduction to C/C++.
Lippman, Stanley. Inside the C++ Object Model. The how and why of C++.
Meyers, Scott. Effective C++. 50 tips for writing C++. Each tip is explained. Along the way, you learn a lot of C++. Skip More Effective C++ though.
Patterson, David. Computer Organization and Design. Covers the MIPS processor not the Intel but the concepts are the same. Don’t get bogged down in the measurements chapter.
Robbins, John. Debugging Applications for .Net and Windows. Great book explaining how to debug programs on windows. Focuses on the Microsoft programming environment but the general techniques are applicable everywhere.
Sedgewick, Robert. Algorithms in C++. Sedgewick has a series of Algorithms books covering everything from C to C++ to Java to Pascal. The latest versions come in two volumes.
Shalloway, Alan. Design Patterns Explained. How to use design patterns in design.
Silberschatz, Abraham. Operating System Concepts. Good introduction to how operating systems work.
If you have suggestions for additional books, subjects, etc. Please post them in the comments below.