tag:blogger.com,1999:blog-11807812.post8744833985461242911..comments2023-05-29T08:58:13.381-04:00Comments on Recycled Knowledge: Third normal form for classesJohn Cowanhttp://www.blogger.com/profile/11452247999156925669noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-11807812.post-48632468094819803522013-06-17T15:03:47.317-04:002013-06-17T15:03:47.317-04:00re: vadim's blog post, please also see http://...re: vadim's blog post, please also see http://www.infoq.com/presentations/Death-by-Accidental-ComplexityRaoul Dukehttps://www.blogger.com/profile/07354740962526930549noreply@blogger.comtag:blogger.com,1999:blog-11807812.post-70777444340200222082007-12-04T11:06:00.000-05:002007-12-04T11:06:00.000-05:00As I understand, John referes to state as an abstr...As I understand, John referes to state as an abstract set of class data and Vadim considers how to map each possible combination in this set to a collection of state identifiers, which can be used in state management.<BR/>I should think, that John really refers not to 'state', but to class dataset. If we make this substitution, than John postulates become an obvious observation on OOD.<BR/>Vadims considerations are, however, more interesting to me. Would anyone be able to suggest a design pattern for a mutable class, which maps its state and uses this to control its lifecycle?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11807812.post-77957866569420696572007-08-20T08:40:00.000-04:002007-08-20T08:40:00.000-04:00Thanks, Lars Marius. Fixed.Thanks, Lars Marius. Fixed.John Cowanhttps://www.blogger.com/profile/11452247999156925669noreply@blogger.comtag:blogger.com,1999:blog-11807812.post-45503986824779954222007-08-20T03:57:00.000-04:002007-08-20T03:57:00.000-04:00I like this! I don't know if I'll ever think along...I like this! I don't know if I'll ever think along these lines when doing a design, but the general rule certainly seems right.<BR/><BR/>One nit, though: "If a method doesn't belong to the state at all". Shouldn't this be "depend on" rather than "belong to"?Lars Marius Garsholhttps://www.blogger.com/profile/15442220825022305581noreply@blogger.comtag:blogger.com,1999:blog-11807812.post-41816611393081127852007-08-17T17:35:00.000-04:002007-08-17T17:35:00.000-04:00Stand: I've updated the post.Vadim: I think you ar...Stand: I've updated the post.<BR/><BR/>Vadim: I think you are using "state" in a different sense to make a subtly different point, but it may be that we are making the same point and I don't quite follow your way of saying it.John Cowanhttps://www.blogger.com/profile/11452247999156925669noreply@blogger.comtag:blogger.com,1999:blog-11807812.post-12158566765415614022007-08-17T17:21:00.000-04:002007-08-17T17:21:00.000-04:00I also thought about this. If you are interesting,...I also thought about this. If you are interesting, here is my <A HREF="http://notbrainsurgery.livejournal.com/7722.html" REL="nofollow"> post on the subject</A>.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-11807812.post-47358100708501240582007-08-17T16:22:00.000-04:002007-08-17T16:22:00.000-04:00Are static methods excluded from these rules? Ther...Are static methods excluded from these rules? There is no state from the perspective of a static method (though I guess there is a static state to the class).Anonymousnoreply@blogger.com