Skip to content

Code Style Introduction

Anastasiia Horban edited this page Oct 30, 2017 · 1 revision

General Style Conventions

Introduction

Style conventions are important to software development process for a number of reasons:

  • 40%-80% of the lifetime cost of a piece of software goes to maintenance.

  • Hardly any software is maintained for its whole life by the original author.

  • Style conventions improve the readability of the software, allowing engineers to understand new code more quickly and thoroughly.

  • If you ship your source code as a product, you need to make sure it is as well packaged and clean as any other product you create.

According to Coding Standards Practice of Extreme programming: Code must be formatted to agreed coding standards. Coding standards keep the code consistent and easy for the entire team to read and refactor. Code that looks the same encourages collective ownership.

Clone this wiki locally