What is the best way to design a program?
Opinions will vary, and methodologies can be mutually exclusive (ie top-down vs bottom-up design). Design is actually a pretty deep subject.Are there any specific steps i should take when designing a program?
In small programs, I'll just wing it and refactor as I go. For larger applications I'll usually start by coming up with user stories to help with visualizing the entire system. From there it's easier to dig down and add details with a big picture view.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
does it take a lot of planning to get an idea of the classes etc needed for a large application?
Yes, but my idea of a large application is probably very different from yours. For example, your blackjack game example would be small to me.What kind of time frame?
It depends on the scale of the project, the size of the development team, and client participation.I think I have it in my head, that because small programs are so easy to write, and I can "make it up" as I go along, I therefore think large applications must be the same.
As the scale of a project increases, the rules change. So no, large programs are not the same as small programs. Fresh college graduates who think they're invincible geniuses are often chagrined when they face reality. ;)
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401