Skip to content
Browse files

OOP-overview: Minor additions.

  • Loading branch information...
1 parent 8e5027e commit 3c5cec106b129158e9a535625c2fbbff127c33f2 Erik Søe Sørensen committed Dec 20, 2011
Showing with 12 additions and 3 deletions.
  1. +12 −3 OOP-overview.asciidoc
View
15 OOP-overview.asciidoc
@@ -70,14 +70,23 @@ OOP Overview
|====================
+// TODO: Note on vtable: can be either a set of function objects (e.g. a record), or a Module implementing a behaviour.
+// TODO: Note on ETS tables vs. processes: Whether a table can be used, depends on the kinds of transactions which are needed.
+// TODO: Note on singletons: For compile-time constants, a term may be used. For all other cases, a named ETS table or process is needed.
+
.Comments
[cols="^10%,90%", options="header"]
|====================
| Nr.
| Comment
| 1
-| Constant. Not a very interesting case.
+a|
+
+Has neither value nor behaviour. There are two cases:
+
+- A unique reference, if object identity is used.
+- A dummy constant, otherwise.
| 2
| Atom naming the type
@@ -107,8 +116,8 @@ OOP Overview
| Mutable (VTable,State) pairs kept in an ETS table
| 11
-| Public ETS table, or state kept by a process
+| Non-private ETS table, or state kept by a process
| 12
-| Public ETS table, or state kept by a process
+| Non-private ETS table, or state kept by a process
|====================

0 comments on commit 3c5cec1

Please sign in to comment.
Something went wrong with that request. Please try again.