What Is a Programming Style/Coding Style?

A programming style (or coding style) refers to practices a developer follows when writing code. The practices include naming conventions, formatting, indentation, comments, and overall code structure.

A style does not affect whether a program functions or runs. Maintaining a consistent style in a program improves readability and simplifies collaboration. Some programming languages have recommended coding style standards.