Библиотека OOArt.ru, книги о программировании и разработке ПО.

OOArt.ru - объектно-ориентированное искусство

Книг: 85

C/C++ Programming Style Guidelines

Автор(ы): Fred Richards
Язык: английский
Формат файла: pdf
Год выхода:
Страниц: 28
Размер: 167.33 KB


This document contains the guidelines for writing C/C++ code for Dynamic Software Solutions. The point of a style guide is to greater uniformity in the appearance of source code. The benefit is enhanced readability and hence maintainability for the code. Wherever possible, we adopt stylistic conventions that have been proved to contribute positively to readability and/or maintainability.

Before code can be considered for peer review the author must check that it adheres to these guidelines. This may be considered a prerequisite for the review process. A checklist is provided at the end of this document to aid in validating the source code’s style. Where code fails to adhere to the conventions prescribed here may be considered a defect during the review process.

If you have not already, please study Code Complete by Steve McConnell. This book provides a detailed discussion on all things related to building software systems. It also includes references to statistical studies on many of the stylistic elements that affect program maintainability. Another valuable source of solid programming practice tips is The Practice of Programming by Brian W. Kernighan and Rob Pike. Scott Meyers’books, Effective C++ and More Effective C++ should be considered required reading for any C++ programmer.

And what person would be considered complete without having read The Elements of Style by Strunk and White?

Пока комментариев нет

Оставить комментарий

Ваш e-mail не будет опубликован

© SignCeption, 2009