Jump to content

Ada Programming/Coding standards

From Wikibooks, open books for an open world

Ada. Time-tested, safe and secure.
Ada. Time-tested, safe and secure.

Introduction

[edit | edit source]

Each project should follow a specific coding standard to ease readability and maintenance of the source code, and reduce the insertion of errors. Depending on the requirements of the project, a set of guidelines can help to achieve the desired level of performance, portability, code complexity...

There are many ASIS tools that can be used to check automatically the adherence of Ada source code to the guidelines.

Tools

[edit | edit source]

Coding guidelines

[edit | edit source]
  • Ada Quality & Style Guide: Guidelines for Professional Programmers
  • ISO/IEC TR 15942:2000, Guide for the use of the Ada programming language in high integrity systems, First edition (2000-03-01). ISO Freely Available Standards
  • Leake, Stephen (2013-10-18). "Goddard Dynamic Simulator — Ada Coding Standard" (PDF). Archived from the original (PDF) on 2014-04-14. Retrieved 2015-08-07.
  • ESA BSSC (1998). Ada Coding Standard (PDF) (BSSC(98)3 Issue 1 ed.). Archived from the original (PDF) on 2024. Retrieved 2015-08-06.
  • "GNAT Coding Style: A Guide for GNAT Developers". GCC online documentation. Free Software Foundation. Retrieved 2009-01-19. (PDF)

See also

[edit | edit source]

Other wikibooks

[edit | edit source]

Wikibook

[edit | edit source]

Ada Quality and Style Guide

[edit | edit source]
[edit | edit source]