This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Designing your program - How ?

 
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.

 
Marshal
Posts: 70261
282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try something like Code Complete by Steve McConnell.
 
Bartender
Posts: 10777
71
Hibernate Eclipse IDE 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
 
Marshal
Posts: 15884
265
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • 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"
    Bookmark Topic Watch Topic
  • New Topic