ywwg / packingdb

A thing that helps me figure out what to pack.
GNU General Public License v3.0
0 stars 1 forks source link

need to represent absolute number of things #3

Closed ywwg closed 7 years ago

ywwg commented 7 years ago

some things aren't daily. I could abuse DailyRate so that negative numbers mean "absolute." If I create a new field, then that gets tricky.

Maybe more than one type? Then I have an item interface for Satisfies which reverses the whole paradigm... But maybe that makes sense? Have each item decide if it satisfies the context, and then return a PackedItem.

ywwg commented 7 years ago

yay I made a whole type system