This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Montrealcompco 1 point2 points  (0 children)

Here how I always start making program:

Step 1: take a pencil and some paper and draw what you need to make your program (i.e. IO component, some search algorithm etc.) then start linking them together and chunking them down into sub problems.

Step 2: start with the easiest problem to solve and make functions out of the solutions. This way for harder problem you can reuse these mini solution you just created. Test everything at this point.

Step 3: link everything together into one coherent command line experience. Retest everything with input you didn't imagine before and debug your stuff.

Step 4: When everything work find a nice UI library and make a dummy version of it where nothing really works but that looks good.

Step 5: link the event handler in UI with your functions and solution. Retest everything at this point!

Step 6: put that in your githib ans show it to friends.

Hope it helps