aspose file tools*
The moose likes Beginning Java and the fly likes Designing your program - How ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Designing your program - How ?" Watch "Designing your program - How ?" New topic
Author

Designing your program - How ?

Andy Jack
Ranch Hand

Joined: Nov 22, 2012
Posts: 257
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.


Java Newbie with 72% in OCJP/SCJP - Super Confused Jobless Programmer.
I am a "newbie" too. Please verify my answers before you accept them.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39436
    
  28
Try something like Code Complete by Steve McConnell.
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 8016
    
  22

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

Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4757
    
    7

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"


Junilu - [How to Ask Questions] [How to Answer Questions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Designing your program - How ?