## Fill out the form in 2 simple steps below:

Step 1

Step 2
** By clicking this button you agree to our Privacy Policy statement
Request our prices
--Select currency--
USD
EUR
* By clicking this button you agree to our Privacy Policy statement

Free PVS-Studio license for Microsoft MVP specialists
** By clicking this button you agree to our Privacy Policy statement

To get the licence for your open-source project, please fill out this form
** By clicking this button you agree to our Privacy Policy statement

I am interested to try it on the platforms:
 Windows Linux macOS PVS-Studio for .NET Core JetBrains Rider
** By clicking this button you agree to our Privacy Policy statement

Message submitted.

Your message has been sent. We will email you at

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.

>
>
>
Source code

# Source code

Apr 05 2013

Computer program code is a text written in any of the programming languages. It is first of all meant to be written and edited by a human. Computer program code is also called source code or software source text.

Source code is transformed into executable processor instructions prior to being executed by a compiler or is directly executed by an interpreter of a programming language.

When writing computer program code, it's important that you stick to the following rules:

• the code must be readable and comprehensible;
• it must be easy to modify and debug;
• there must be as few compiler warnings as possible for this code.

It's first of all humans who need code formatting and accurate editing. The compiler can easily figure out a text like this:

``````int foo(int N)
{int i=0;for(int y=0;y<N;y++){i+=y*y;}return i;}``````

But you agree that a human will find it hard to understand what exactly the program does, don't you? And here is a code that does quite the same thing, while being edited in a proper way:

``````int Sum(int N)
{
int sum = 0;
for (int i = 0; i < N; i++)
{
sum += i * i;
}
return sum;
}``````

When a software product is being developed by several developers, it's a good practice to follow a single coding standard to make the code clear to others. It will significantly simplify computer program code development and maintenance.

## References

Popular related articles