Update Tasks-Library_Design.xml - typos, title case
This commit is contained in:
parent
6eb9344ea0
commit
d0c00172ee
1 changed files with 6 additions and 6 deletions
|
@ -4,16 +4,16 @@
|
||||||
<chapter id="chap-Defensive_Coding-Tasks-Library_Design">
|
<chapter id="chap-Defensive_Coding-Tasks-Library_Design">
|
||||||
<title>Library Design</title>
|
<title>Library Design</title>
|
||||||
<para>
|
<para>
|
||||||
Throught this section, the term <emphasis>client code</emphasis>
|
Through this section, the term <emphasis>client code</emphasis>
|
||||||
refers to applications and other libraries using the library.
|
refers to applications and other libraries using the library.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<title>State management</title>
|
<title>State Management</title>
|
||||||
<para>
|
<para>
|
||||||
</para>
|
</para>
|
||||||
<section>
|
<section>
|
||||||
<title>Global state</title>
|
<title>Global State</title>
|
||||||
<para>
|
<para>
|
||||||
Global state should be avoided.
|
Global state should be avoided.
|
||||||
</para>
|
</para>
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<title>Object orientation</title>
|
<title>Object Orientation</title>
|
||||||
<para>
|
<para>
|
||||||
Classes should be either designed as base classes, or it should
|
Classes should be either designed as base classes, or it should
|
||||||
be impossible to use them as base classes (like
|
be impossible to use them as base classes (like
|
||||||
|
@ -147,7 +147,7 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<title>Process attributes</title>
|
<title>Process Attributes</title>
|
||||||
<para>
|
<para>
|
||||||
Several attributes are global and affect all code in the
|
Several attributes are global and affect all code in the
|
||||||
process, not just the library that manipulates them.
|
process, not just the library that manipulates them.
|
||||||
|
@ -179,7 +179,7 @@
|
||||||
Library code should avoid manipulating these global process
|
Library code should avoid manipulating these global process
|
||||||
attributes. It should not rely on environment variables, umask,
|
attributes. It should not rely on environment variables, umask,
|
||||||
the current working directory and signal masks because these
|
the current working directory and signal masks because these
|
||||||
attributes can be inherted from an untrusted source.
|
attributes can be inherited from an untrusted source.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
In addition, there are obvious process-wide aspects such as the
|
In addition, there are obvious process-wide aspects such as the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue