Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on an iPhone application and I created a component diagram. I defined interfaces for each component. For example I have an AI component and I have made some interfaces for it.

How should I carry on? Should I create a class diagram to go into details, should I go into details of each interface or should I just start implementing my interfaces?

I am a bit confused on how to proceed.

share|improve this question

migrated from Feb 22 '12 at 15:53

This question came from our site for professional and enthusiast programmers.

@Eugene Please don't post in multiple sites, questions can be automatically moved to the right site... I deleted the other question, since this one already has an answer. – Yannis Feb 22 '12 at 15:58
up vote 0 down vote accepted

As rule of thumb, you start with the logic of your application and then continue with the implementation.

So you should first complete your interface declarations.

Continue to the class diagram to model your classes.

Finally write the code itself.

share|improve this answer

For your class:

you should ask your instructor what is expected and do that

For the real world:

you should stop drawing pointless diagrams and implement something already

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.