Software Programming Style

From GM-RKB
(Redirected from software programming style)
Jump to navigation Jump to search

A Software Programming Style is a set of conventions that governs the writing and formatting of source code in a programming language.



References

2024

  • (Wikipedia, 2024) ⇒ https://en.wikipedia.org/wiki/Programming_style Retrieved:2024-2-9.
    • Programming style, also known as code style, is a set of rules or guidelines used when writing the source code for a computer program. It is often claimed that following a particular programming style will help programmers read and understand source code conforming to the style, and help to avoid introducing errors.

      A classic work on the subject was The Elements of Programming Style, written in the 1970s, and illustrated with examples from the Fortran and PL/I languages prevalent at the time.

      The programming style used in a particular program may be derived from the coding conventions of a company or other computing organization, as well as the preferences of the author of the code. Programming styles are often designed for a specific programming language (or language family): style considered good in C source code may not be appropriate for BASIC source code, etc. However, some rules are commonly applied to many languages.