You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$*TOLERANCE | Used by the C<=~=> operator, and any operations that depend on it, to
1174
1175
| decide if two values are approximately equal. Defaults to 1e-15.
@@ -1195,6 +1196,24 @@ with the default changed before using C<.hyper> or C<.race>:
1195
1196
1196
1197
This behavior is not tested in the spec tests and is subject to change.
1197
1198
1199
+
=head1Naming Conventions
1200
+
1201
+
It is helpful to know our naming conventions in order to understand what codes
1202
+
do directly. However, there is not yet a conventions list covering anywhere.
1203
+
Still we list several conventions that are widely held.
1204
+
1205
+
=item1Subs and methods from the built-ins library try to have single-word names when a good one could be found. In cases where there are two or more words making up a name, they are separated by a "-".
1206
+
1207
+
=item1Compounds are treated as a single word, thus C<substr>, C<subbuf>, and C<deepmap> (just like we write "starfish", not "star fish" in English).
1208
+
1209
+
=item1Subs and methods that are automatically called for you at special times are written in uppercase. This includes the C<MAIN> sub, the C<AT-POS> and related methods for implementing container types, along with C<BUILD> and C<DESTROY>.
1210
+
1211
+
=item1Type names are camel case, except for native types, which are lowercase. For the exception, you can remember it by: they are stored in a more compact way, so they names look smaller too.
1212
+
1213
+
=item1Built-in dynamic variables and compile-time variables are always uppercase, such like C<$*OUT>, C<$?FILE>.
1214
+
1215
+
=item1Methods from the MOP and other internals use "_" to separate multiple words, suck like C<add_method>.
0 commit comments