Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add some information about method and prototype naming conventions.

Fixes #233
  • Loading branch information...
commit 891d5474fb57e6385c195a9af565a41025f16ca3 1 parent 1514f21
@ohookins ohookins authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 docs/IoCodingStandards.html
View
7 docs/IoCodingStandards.html
@@ -55,7 +55,10 @@
<tr><td colspan=3 class=sectionDivider></td></tr>
<tr><td align=right><a name="Naming"></a><h3>Naming</h3>
</td><td></td><td style="width:60em">
- ...
+ <ul>
+ <li>Prototypes should begin with a capital letter, e.g. <b>A</b>rray, <b>M</b>ap, <b>O</b>bject.</li>
+ <li>Methods producing a (possibly modified) copy of an object should begin with "<b>as</b>", e.g. <b>as</b>Mutable, <b>as</b>Uppercase, <b>as</b>Number.</li>
+ </ul>
</div>
<p><br><br><br>
</td>
@@ -114,4 +117,4 @@
</table>
<br><br><br>
-<br><br><br>
+<br><br><br>
Please sign in to comment.
Something went wrong with that request. Please try again.