Hi, I've been thinking about this for a while. What is the best way to design a program?
What I don't understand is how people think of which classes etc. they will use and what they are called. For example, in a program which simulates the card game BlackJack. How/why do people have a class/etc for say CardPack,Card. I honestly don't know how to word this question properly. So I will tell you what i do.
If I am writing a small program, I don't know what classes i will need to write, if I was doing that blackjack game, I would just have a class called Card or something(I wouldn't think of having a separate Cardpack class until I found that I need some different functionality or something). Are there any specific steps i should take when designing a program? I hope somebody understands my dilemma because I can't really express what I mean properly.
Edited by Akill10: n/a