Yuck!
I'm half-way through refactoring the convenience methods and have realized that (1) it makes for pretty unreadable code (i.e. not convenient) and (2) there is just way too much code (static methods at that!).
Better to just have some generic code on PHandle and PHTable and have the application programmer pass the type in an added argument. But I think that is a project best left for tomorrow. For one thing, this will greatly reduce the amount of code needed to define new types of persistent objects, and that's a real plus!
0 Comments:
Post a Comment
<< Home