Pour obtenir une clé
d'essai remplissez le formulaire ci-dessous
Demandez des tariffs
Nouvelle licence
Renouvellement de licence
--Sélectionnez la devise--
* En cliquant sur ce bouton, vous acceptez notre politique de confidentialité

Free PVS-Studio license for Microsoft MVP specialists
To get the licence for your open-source project, please fill out this form
** En cliquant sur ce bouton, vous acceptez notre politique de confidentialité.

I am interested to try it on the platforms:
** En cliquant sur ce bouton, vous acceptez notre politique de confidentialité.

Message submitted.

Your message has been sent. We will email you at

If you haven't received our response, please do the following:
check your Spam/Junk folder and click the "Not Spam" button for our message.
This way, you won't miss messages from our team in the future.

Coding standard

Coding standard

06 Avr 2013

A coding standard is a set of rules and agreements used when writing a source code in a particular programming language [1]. Other variants of the name are: code formatting standard, coding convention, programming style, code style guide.

The code formatting standard is usually accepted and used by a group of software developers with the purpose of uniform formatting of the code they are using. This standard depends greatly on the programming language being used. For example, the code formatting standard for C++ differs greatly from that for PHP.

The coding standard defines various aspects of creating and maintaining source codes of programs. For example, among such aspects we can name the rules of variable naming, indent style, bracket arranging methods, using spaces when formatting arithmetic expressions, comment style, etc.

There are many sources devoted to recommendations on code formatting and creating coding standards. But first of all I would like to mention two books: "Code Complete" [2] and "Enough Rope to Shoot Yourself in the Foot" [3].

Thanks to flexible settings, most static code analyzers allow you to control adherence to the coding standard accepted in the company. In this case, the warnings received from the static code analyzer can be considered not only as diagnosis but as a breach of the accepted coding standard as well.


Comments (0)

Next comments
Unicorn with delicious cookie
Nous utilisons des cookies pour améliorer votre expérience de navigation. En savoir plus