Приглашаем посетить
Хомяков (homyakov.lit-info.ru)

Choosing a Style That Is Right for You

Previous
Table of Contents
Next

Choosing a Style That Is Right for You

Choosing a coding style should not be something that you enter into lightly. Our code lives on past us, and making a style change down the line is often more trouble than it's worth. Code that accumulates different styles with every new lead developer can quickly become a jumbled mess.

As important as it is to be able to choose a new style in a project absent of one, you also need to learn to adhere to other standards. There is no such thing as a perfect standard; coding style is largely a matter of personal preference. Much more valuable than choosing "the perfect style" is having a consistent style across all your code. You shouldn't be too hasty to change a consistent style you don't particularly like.


Previous
Table of Contents
Next