On 04:27 pm, [email protected] wrote: >On Tue, Nov 16, 2010 at 4:17 AM, Antonio Cuni <[email protected]> >wrote: >>Sounds fine, do you feel like implementing it? :-) >> >>Moreover, I also agree with amaury that your code is very similar to >>the >>one in the current dbm.py, so we should maybe try to refactor things >>to >>share common parts between the twos. >I'd be happy to. > >Would sharing based on inheritance or a more functional approach be >preferred?
No, avoid inheritance where possible. Composition is preferred. As for "functional", I don't really know what approach you're describing with that word. Jean-Paul _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
