composablesys / collabs

Collabs library monorepo

Home Page:https://collabs.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crdt: rename to CType?

mweidner037 opened this issue · comments

For the type-specific interfaces, I've been using "C", e.g., CMap, CBoolean. For consistency, we could rename the Crdt base class to CType, and likewise with other names including "Crdt". Here I'm thinking the C would stand for "collaborative", but potentially also for Crdt. (We could also consider R for replicated.)

Besides consistency, I'm mildly in favor of doing this in order to remove explicit references to "Crdt" from the library, especially its inflexible core. The library can really support any collaborative data type built on top of causal broadcast, which includes op-based Crdts, OT types with transformation property 2, OpSets, and potentially future techniques. (Although if you define Crdts broadly enough, you can consider all of these to be Crdts). I don't want people to here "Crdts" and get a limiting impression from that (e.g. because they are OT folks, or because they think of Crdts as a niche/academic/theoretical thing).

Renamed to Collab as part of #184