ooad
Is my OOP design correct?
I have a scenario where I am designing a system for a retailer. This is not a proper live application but just a scenario to check whether my OO design skills are correct and whether I am thinking cor[详细]
2023-03-26 00:19 分类:问答Business rules that are valid for specific time span – how to manage in an orderly manner
I just started working for a government agency and I have come across an interesting problem: business rules depend on legislature and as such they have to respect the exact time periods that legislat[详细]
2023-03-16 07:40 分类:问答Default IBAction - UISegmentControl, Object-oriented design help
I have a UISegmentControl with my UITableView that sorts the data.I\'d like to be able to do things: (1) default sort (so when the user turns on the app for the first time, it would select the first[详细]
2023-03-14 20:59 分类:问答How to write data of type A to format of type B
I\'m implementing a thing that generates results and writes them to a file of certain format. Fairly simple, but I want this to be dynamic.[详细]
2023-03-03 14:19 分类:问答How can I grasp the concept of pure OOD?
I still have a little problem grasping the concept of pure OOD. Let\'s say we have a class Human and we live in a world where sometimes the human walks (the brain commands the legs)开发者_如何转开发,[详细]
2023-02-28 01:42 分类:问答Proper use of an abstract class
I am using .Net and have a simple master- and sub-class design. My master class contains nearly all the functionality and the sub-class only needs to set a value from the master.I was considering maki[详细]
2023-02-16 13:58 分类:问答Question about Encapsulation (Book: HF OOA&D )
i\'m reading this book (Head First Object Oriented Design & Analysis). In chapter 5 there is a suggestion which i would like to have some other toughts about it. The book says:[详细]
2023-02-11 13:29 分类:问答Is there any online material for real world examples of Object oriented design problems? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-02-04 22:11 分类:问答Is this a good enough abstraction or I can do better?
Requirement: Requirement is to pull (execute()) a set of data sources. The pulls are are Ordered, can be grouped into small sub groups.[详细]
2023-01-31 08:15 分类:问答Encapsulation. Well-designed class
Today I read a book and the author wrote that in a well-designed class the only way to access attributes is through one of that class methods. Is it a widely accepted thought? Why is it so important t[详细]
2023-01-21 04:48 分类:问答