Glossary Updates12 new terms added to the glossaries · October 2, 2026, 22:44 CEST
AI TechDocKnowledge

Glossary · Automation software engineering and architecture

Coding standard

Also known as: Programming standard

German: Programmierrichtlinie

In software engineering, a coding standard is a set of binding rules for writing source code in a given language or project, such as MISRA C or CERT C, that restricts language features and prescribes practices to improve safety, security, reliability and maintainability, usually with a defined process for checking compliance and approving deviations.

  • Software engineering
  • Standards

In one sentence

A coding standard is a set of binding source code rules, such as MISRA C, with a defined process for compliance checks and deviations.

Example

The drive firmware is written to MISRA C:2012; a static analyzer checks compliance in the pipeline, and each deviation is recorded with a justification.

How it applies

  • Engineering: Coding standards restrict error-prone language features, such as unchecked pointer arithmetic or dynamic memory use, and make behavior more predictable. They are widely used for embedded and safety-related software.
  • Functional safety and security: IEC 61508 part 3 calls for the use of coding standards for safety-related software, and secure development practices under IEC 62443-4-1 include secure coding rules. Following a coding standard supports, but does not by itself establish, safety or security.
  • Documentation: Record which coding standard and version apply, how compliance is checked, the tool configuration and every approved deviation with its rationale. These records are part of the verification evidence.

Coding standard vs. coding guideline

A coding standard is binding and audited; a Coding guideline is usually advisory. In practice, companies often combine a published standard with an in-house guideline that adds naming and layout rules.

By knowledge.aitechdoc.world · Published September 26, 2026 · Last reviewed

Source: AI TechDoc Blog editorial definition, based on MISRA C, CERT C and IEC 61508-3 practice

Definitions follow the cited standards and specifications. Where a source is a copyrighted publication, such as an ISO, IEC or EN standard, the definition is a close paraphrase, not a verbatim quotation, so as not to infringe copyright. We recommend reading the original publication. The sections “How it applies” are editorial commentary by AI TechDoc Blog and are not part of any standard.

Seen a mistake? Send us a note!