Update for style guidelines
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9612 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
54ec9df2ca
commit
433eaef955
3 changed files with 30 additions and 9 deletions
|
|
@ -434,14 +434,7 @@ making your changes.
|
|||
<a name="10" href="#i10">
|
||||
<h2>10. Miscellaneous Coding Guidelines</h2>
|
||||
</a>
|
||||
|
||||
<ul>
|
||||
<li> Do not use the ternary ?: operator. It is unnecessarily error prone,
|
||||
hard for people to read, and hard to maintain code that uses it.
|
||||
[I don't agree w/ this guideline. ?: operator can be abused
|
||||
just like everything else, but it can also be used cleanly. In some styles of
|
||||
programming, it is the best tool for the job. --ttn]
|
||||
</ul>
|
||||
These are largely covered in the main documentation in the Extending.html file.
|
||||
|
||||
<a name="11" href="#i11">
|
||||
<h2>11. CVS Tagging Conventions</h2>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue