Thanks Sherman!

done.

-roger
Quoting "Jeremy W. Sherman" <[email protected]>:

Hi Roger,

The patch is at the end of this email.

Thanks!
--
Jeremy W. Sherman
https://jeremywsherman.com/

El feb 4, 2015, a las 15:22, Roger Meier <[email protected]> escribió:

You can create a patch for a new doc/specs/idl.md and I will integrate that into the web page as well.
-roger

Quoting "Jeremy W. Sherman" <[email protected]>:

Hi there,

https://thrift.apache.org/docs/idl#namespace contains this snippet:

N.B.: Smalltalk has two distinct types of namespace commands. Can someone who knows Smalltalk explain why Smalltalk needs two different kinds of namespaces?

It doesn't look like this page's content is in the git repo, so how does one go about updating the page?

Author: Jeremy W. Sherman <[email protected]>
Date:   Wed Feb 4 17:52:37 2015 -0500

    explains the smalltalk namespace commands

diff --git a/doc/specs/idl.md b/doc/specs/idl.md
index 5014df6..e49027e 100644
--- a/doc/specs/idl.md
+++ b/doc/specs/idl.md
@@ -1,3 +1,14 @@
-N.B.: Smalltalk has two distinct types of namespace commands.
-*Can someone who knows Smalltalk explain why Smalltalk needs two different
-kinds of namespaces?*
+N.B.: Smalltalk has two distinct types of namespace commands:
+
+- smalltalk.prefix: Prepended to generated classnames.
+  - Smalltalk does not have namespaces for classes, so prefixes
+    are used to avoid class-name collisions.
+    Often, the prefix is the author's initials, like "KB" or "JWS",
+    or an abbreviation of the package name, like "MC" for "Monticello".
+- smalltalk.category: Determines the category for generated classes.
+  Any dots in the identifier will be replaced with hyphens when generating
+  the category name.
+  If not provided, defaults to "Generated-" + the program name.
+  Methods will not be categorized beyond "as yet uncategorized".
+ - Smalltalk allows filing both classes and methods within classes into named
+    groups. These named groups of methods are called categories.


Reply via email to