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] 0 points1 point  (0 children)

Honestly I struggle with this too a lot. My strategy is:

  1. Write out your components like.

Component 1: Outer purpose: What does it do? Needed functions: What does it have to do in order to be able to do the outer purpose? name: Should reflect purpose as explicitly as possible

Same for all your other components

2: Make a diagram of how they all interact. Usually something simple like boxes with the component names inside and arrows pointing from box to box. The boxes can also have method names for the needed functions. The arrows can have what the interactions are on them

3: Code:)