Program project planning
#3
(03-04-2023, 12:13 AM)SMcNeill Wrote: The main thing I ever find myself planning for, before just sitting down and starting to code, is the data structure I think I'm going to need for my project.

TYPE whatever
   x as integer
   y as integer
   width as integer
   height as integer
   kolor as _unsigned long
   background as _unsigned long
   xmove as _float
   ymove as _float
   and so on...
END TYPE

Of course, I'll often have to expand or alter that type as I actually get into the project, but it gives me a starting point for the minimum of what I want my code to be able to accomplish.  A good data structure is a good roadmap to knowing what needs to be implemented on piece at a time into your program.  I find them even more useful than any sort of flowchart or whatnot that Ive ever personally created for myself. Wink

Yep, that's how I usually start out too, by road mapping the UDTs that I may use in the project. Amazing how the UDTs morph and change though as new and better ideas come to mind while setting down the road. Smile
Software and cathedrals are much the same — first we build them, then we pray.
QB64 Tutorial
Reply


Messages In This Thread
Program project planning - by James D Jarvis - 03-03-2023, 08:06 PM
RE: Program project planning - by SMcNeill - 03-04-2023, 12:13 AM
RE: Program project planning - by TerryRitchie - 03-04-2023, 12:48 AM
RE: Program project planning - by James D Jarvis - 03-04-2023, 01:24 AM



Users browsing this thread: 1 Guest(s)