
Thinking In C++. Volume 2: Practical Programming
Скачать
Начало книги
Software engineers spend about as much time validating code as they do creating it. Quality is or should be the goal of every programmer, and one can go a long way towards that goal by eliminating problems before they rear their ugly heads. In addition, software systems should be robust enough to behave reasonably in the presence of unforeseen environmental problems.
Exception handling was introduced into C++ to support sophisticated error handling without cluttering code with an inordinate amount of error-handling logic. Chapter 1 shows how proper use of exceptions can make for well-behaved software, and also introduces the design principles that underlie exception-safe code. In Chapter 2 we cover unit testing and debugging techniques intended to maximize code quality long before it’s released. The use of assertions to express and enforce program invariants is a sure sign of an experienced software engineer. We also introduce a simple framework to help mitigate the tedium of unit testing.
- Жанр
- Программирование, программы, базы данных
- Год написания
- 2003
- Издание
- Prentice Hall, 2003
- ISBN
- 978-0130353139
- Язык
- en
- Размер FB2
- 1,9 МБ
- Добавлена