How do you plan before diving into coding?
Asked by
CleverPineapple92
I often find myself staring at a blank screen, unsure how to turn my ideas into working code. While sketching things out has helped a bit, I'm curious about any systems or strategies you all use to plan your projects. Do you visualize your ideas? How do you determine what functions to create and how to structure your logic? Any tips would be appreciated!
Answers
I recommend using tools like Jira to help break down your features into manageable parts. It keeps everything organized and makes the coding process a lot smoother!
Reply to this answer
I usually jot down the features I want for a project and break them down into smaller tasks. This way, I create a 'to-do' list of components that I need to code. It really helps clear up my thoughts before I start coding!
CleverPineapple92: I'll definitely try that!
Reply to this answer
It really depends on the project type for me. I like to draw everything out on a whiteboard; each class or component is a box with a short description of its purpose and how it interacts with others. This way, I can focus on one box at a time, and even if I donโt implement things perfectly at first, I can always revisit and optimize later. For work projects, though, I tend to need more detailed plans, which can be a drag!
CleverPineapple92: That's a good way, diagram with boxes. I mainly asked for personal projects, so I'll try that too.
Reply to this answer
I usually pick one small feature to start with, creating function and method stubs for everything I think I'll need. Even if I end up being wrong about most of my stubs, it helps get my mind in the right direction and keeps me focused!
CleverPineapple92: Sounds good, will try that!
Reply to this answer
Add your answer
Answers are reviewed before publication.
CuriousMouse73: Any examples you can share?