Skip to main content
3 events
when toggle format what by license comment
Jul 5, 2012 at 18:26 comment added Andrew Cheong 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.
Jul 5, 2012 at 18:12 vote accept Andrew Cheong
Jul 1, 2012 at 15:29 history answered Telastyn CC BY-SA 3.0