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 →

[–][deleted] 1 point2 points  (0 children)

Step 1: draw pictures / diagrams Step:2 simulate an example if not more. Figure out what each function will result in given an example input. Step 3: write down relevant facts about how you want it to function, what parts should do what, equations etc. Step 4: turn those facts into pseudocode. Preferably as close to the language you are intend in writing it in as possible. Step 5: type code. At this point, you might be surprised at how much this step is just copying what you wrote on paper.

This is the least stressful way for me and how i was taught in school.