For me, the most important things at the beginning, depending on the kind of program, are :
- Define as exactly as possible what the program is supposed to do.
- What data do I need for it.
- Where does the data come from and how.
- What is the user supposed to do, or better what is he allowed to do.
- Where and how to get the data.
- What data should be displayed and how.
- What can or is the user allowed to do with the results.
- Where and how to save them, if needed.
- Think about the user interfaces, make them as simple as possible with the minmum of operations. This is by far not simple.
- Only then begin with coding.
- Eventually write some small test programs.
- Begin with the skeleton and add the different functions.
- Then think about graphics, animation etc. for the user interface.
Sorry, I am old fashioned !