Refactor memory const as class, with helpers
timkinnane opened this issue · comments
Tim Kinnane commented
Memory functions exposed at the root bot level are too generic, like get
, set
, unset
. They should be methods of memory
and operate on the memory instance self.
That would also allow get
to be repurposed for getRequest
so get
and post
can be request shortcuts instead.