Click here to Skip to main content
15,900,108 members
Home / Discussions / Java
   

Java

 
GeneralRe: java Pin
Richard MacCutchan11-Jul-12 3:15
mveRichard MacCutchan11-Jul-12 3:15 
GeneralRe: java Pin
TorstenH.11-Jul-12 8:29
TorstenH.11-Jul-12 8:29 
GeneralRe: java Pin
Richard MacCutchan11-Jul-12 23:27
mveRichard MacCutchan11-Jul-12 23:27 
GeneralRe: java Pin
Nagy Vilmos12-Jul-12 0:11
professionalNagy Vilmos12-Jul-12 0:11 
GeneralRe: java Pin
TorstenH.12-Jul-12 1:23
TorstenH.12-Jul-12 1:23 
QuestionRequest for Help in Java Datagrid Implementation. Pin
haranath.nadella10-Jul-12 18:44
haranath.nadella10-Jul-12 18:44 
AnswerRe: Request for Help in Java Datagrid Implementation. Pin
Richard MacCutchan10-Jul-12 21:19
mveRichard MacCutchan10-Jul-12 21:19 
QuestionHow do I decide for class responsibilities? Pin
Neo101018-Jul-12 5:56
Neo101018-Jul-12 5:56 
How do I decide what types to make and what responsibilities to give them, given a design concept? Should I base myself on user stories/functional requirements in order to decide which responsibilities my classes need?

It's not easy to adhere to the SOLID principle.

For example I have this.. 'make a blog' assignment. I wrote down one of those functional requirements: "a blog entry has to have a title and a body". Does that mean I have to write a class Post with members Body and Title?

Should a Post (BlogEntry) class only have a body and the title is supposed to be the responsibility of another class?
Kind of confusing.

There must be a set of rules that tell programmers how to decide on which objects to make and what responsibilities and implementation to give them.

Any ideas on this?

Thanks
AnswerRe: How do I decide for class responsibilities? PinPopular
Nagy Vilmos8-Jul-12 6:31
professionalNagy Vilmos8-Jul-12 6:31 
GeneralRe: How do I decide for class responsibilities? Pin
Neo101018-Jul-12 7:44
Neo101018-Jul-12 7:44 
GeneralRe: How do I decide for class responsibilities? Pin
Nagy Vilmos8-Jul-12 8:19
professionalNagy Vilmos8-Jul-12 8:19 
GeneralRe: How do I decide for class responsibilities? Pin
Neo101018-Jul-12 8:44
Neo101018-Jul-12 8:44 
GeneralRe: How do I decide for class responsibilities? Pin
Nagy Vilmos8-Jul-12 8:49
professionalNagy Vilmos8-Jul-12 8:49 
GeneralRe: How do I decide for class responsibilities? Pin
Richard MacCutchan8-Jul-12 22:22
mveRichard MacCutchan8-Jul-12 22:22 
GeneralRe: How do I decide for class responsibilities? Pin
Nagy Vilmos9-Jul-12 8:31
professionalNagy Vilmos9-Jul-12 8:31 
GeneralRe: How do I decide for class responsibilities? Pin
Stingrae7899-Jul-12 4:02
Stingrae7899-Jul-12 4:02 
GeneralRe: How do I decide for class responsibilities? Pin
Neo101019-Jul-12 6:48
Neo101019-Jul-12 6:48 
GeneralRe: How do I decide for class responsibilities? PinPopular
Dave Kreskowiak9-Jul-12 7:11
mveDave Kreskowiak9-Jul-12 7:11 
GeneralRe: How do I decide for class responsibilities? Pin
Nagy Vilmos9-Jul-12 8:30
professionalNagy Vilmos9-Jul-12 8:30 
GeneralRe: How do I decide for class responsibilities? Pin
Richard MacCutchan9-Jul-12 8:43
mveRichard MacCutchan9-Jul-12 8:43 
GeneralRe: How do I decide for class responsibilities? Pin
Nagy Vilmos9-Jul-12 8:48
professionalNagy Vilmos9-Jul-12 8:48 
GeneralRe: How do I decide for class responsibilities? Pin
Richard MacCutchan9-Jul-12 9:03
mveRichard MacCutchan9-Jul-12 9:03 
GeneralRe: How do I decide for class responsibilities? Pin
Nagy Vilmos9-Jul-12 9:12
professionalNagy Vilmos9-Jul-12 9:12 
GeneralRe: How do I decide for class responsibilities? Pin
jschell9-Jul-12 12:13
jschell9-Jul-12 12:13 
GeneralRe: How do I decide for class responsibilities? Pin
pasztorpisti14-Jul-12 0:03
pasztorpisti14-Jul-12 0:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.