|
|
|
|
|
by kibwen
171 days ago
|
|
Those guidelines are quite clear that they're written specifically in the context of the C programming language, and may not make sense in other contexts: "For fairly pragmatic reasons, then, our coding rules primarily target C and attempt to optimize our ability to more thoroughly check the reliability of critical applications written in C." A version of this document targeting, say, Ada would look quite different. |
|
The ESA Ada standard also recommends all allocation occur at initialization, and requires exceptions to be justified.