Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Designing your program - How ?

 
Andy Jack
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a particular problem in mind for which I have a software solution. Eg. If the problem is to find a means for quick, easy and instant communication over the internet, I think of developing an instant messenger. Before I think of
coding, I want to resolve the following questions -
How do I design my program?
How do I get the requirements right?
Then, how do I decide how many classes or which classes are needed and what functionality they will provide?

Is there a book that can teach me all these things? I am looking for a book which will give me a small problem statement or a real world problem and then ask me to design the code, make use cases, flow charts etc.
Then, it will show me a suggested solution which I can compare with my solution.

Thanks in advance.

 
Campbell Ritchie
Sheriff
Posts: 48415
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try something like Code Complete by Steve McConnell.
 
Winston Gutkowski
Bartender
Pie
Posts: 10109
56
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:Try something like Code Complete by Steve McConnell...

@Andy: And then find out if someone else has already thought of the same thing.

Half of the art of programming is not re-inventing the wheel, and there are messaging packages aplenty out there in Webland; probably the best-known of which (at least for Java) is this one.

Winston
 
Junilu Lacar
Bartender
Pie
Posts: 7317
45
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andy Jack wrote:
How do I design my program?
How do I get the requirements right?
Then, how do I decide how many classes or which classes are needed and what functionality they will provide?

Is there a book that can teach me all these things? I am looking for a book which will give me a small problem statement or a real world problem and then ask me to design the code, make use cases, flow charts etc.
Then, it will show me a suggested solution which I can compare with my solution.

You could check out the book "Growing Object-Oriented Software, Guided by Tests"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic