Talk:Video rental system
Line 8: | Line 8: | ||
'''Hey guys, check out Riel's heuristic #5.7 --[[User:Warwick Irwin|Wal]] 01:48, 21 July 2008 (UTC)''' | '''Hey guys, check out Riel's heuristic #5.7 --[[User:Warwick Irwin|Wal]] 01:48, 21 July 2008 (UTC)''' | ||
+ | |||
+ | We might be getting to the point where we might need more detailed requirements to improve much further, but I'm questioning the use of enums for DVD zone and Title genre. Riel's heuristic #5.12 (and #5.13) suggest that if we need to branch off the values of these for any reason that we should create class hierarchies and use polymorphism instead. Again, I think it depends on how they are used. If genre is only ever used to display a string for example, then I doubt it would be necessary (or useful). --[[User:Kris Nicholson|Kris]] 23:50, 21 July 2008 (UTC) |
Revision as of 23:50, 21 July 2008
Made page. put up pics. --Jason Clutterbuck 05:18, 17 July 2008 (UTC)
Sounds like fun lecture. I missed this lecture cause I thought I wont be taking this paper. But I am back now! Anyway, after I look at the latest design, isn't it better to have PhysicalHolding Class as an abstract class? To exist, a PhysicalHolding object has to be in a form of VCR or DVD or something else (BlueRay, etc) objects so PhysicalHolding itself is a concept, not a real object. Thus I think PhysicalHolding class should be shown as an abstract class. -- Jojo 15:20, 18 July 2008
Agreed -- David Thomson 23:17, 20 July 2008 (UTC)
Abstraction achieved --Jason Clutterbuck 10:00, 21 July 2008 (UTC)
Hey guys, check out Riel's heuristic #5.7 --Wal 01:48, 21 July 2008 (UTC)
We might be getting to the point where we might need more detailed requirements to improve much further, but I'm questioning the use of enums for DVD zone and Title genre. Riel's heuristic #5.12 (and #5.13) suggest that if we need to branch off the values of these for any reason that we should create class hierarchies and use polymorphism instead. Again, I think it depends on how they are used. If genre is only ever used to display a string for example, then I doubt it would be necessary (or useful). --Kris 23:50, 21 July 2008 (UTC)