Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • Thanks, Telastyn. This is what I ended up doing. At first the decorator pattern seemed like a "hacky" workaround for a deeper issue. (As Mat pointed out, why aren't my components speaking the same "dialect"?) But then I realized: Google Spreadsheets alters field names in a "lossy" form; e.g. one can never recover sys_TIMESTAMP from systimestamp. Thus, one can't improve the Google Spreadsheets wrapper in any suitable way to "speak" the non-lossy dialect: one can only provide a decorator, e.g. CSyncable_GSCompat, that forces other CSyncables to "dumb down" their dialect. Commented Jul 5, 2012 at 18:26