5 ms·
When they seemingly need go "back and forth" I typically consider it good timing to create a new instance (object, or DB row) instead of keeping mutating the sa
by vemv 3y ago
When they seemingly need go "back and forth" I typically consider it good timing to create a new instance (object, or DB row) instead of keeping mutating the same instance.
e.g. one can consider a re-purchased return simply a new purchase, instead of doing a purchased->returned->purchased transition.