...

/

Thought Process Behind Writing a New Method

Thought Process Behind Writing a New Method

Break the task of writing a new method into smaller steps.

As programmers, we like to split our tasks up and do one thing after another. This allows us to focus on a tiny task, and once we’ve solved it, we move on to the next one.

When we need to add some new functionality to our program, we’ll constantly need to add methods because they are what add behavior.

Method name

...