This note explains the following
topics: C-Syntax Pitfalls and Comparison to Ada, C-Syntax versus Ada Syntax,
loop in Ada, Programming by Contract, Pitfalls and Issues when Programming in
Ada, Identifier Casing and Loop Boundaries, The Order of Expression Evaluation
in Ada, Distinguished Properties of Ada, Types and Subtypes, Constrained Arrays,
Private Types, Polymorphism, Callbacks.
Ada puts unique emphasis on, and
provides strong support for, good software engineering practices that scale well
to very large software systems. This book, Ada Programming is a featured book on
Wikibooks because it contains substantial content and it is well-formatted. If
you are a beginner you will learn the latest standard , if you are a seasoned
Ada user you can see what's new.
The purpose of this guide is to help
computer professionals produce better Ada programs by identifying a set of
stylistic guidelines that will directly impact the quality of their Ada
programs. This style guide is not intended to replace the Ada Reference Manual,
or the Rationale, or to serve as a tutorial for the Ada programming language.
This book is not intended to teach you the Ada programming language. You
should already be familiar with Ada syntax and semantics. Authors goal
is to share with you the experiences he had using Ada in engineering
applications.
This
document is written primarily for C and C++ programmers and is set out to
describe the Ada programming language in a way more accessible to them. Topics
covered includes: Ada predefined types, complex types, simple language
constructs, new Ada-95 Object Oriented programming constructs, Ada tools for
managing concurrency, the task and protected types, Ada IO library and the
differences in concept and implementation between it and C stdio.