Some composers prefer to improvise their compositions, writing freely and letting ideas flow.
Other composers prefer to write down specific themes, and then let their subconscious come back to them later.
Still other composers would work out their music systematically, step by step, using formulas and mathematical equations.
None of these methods are better or worse than any other. The end result still needs to be music you composed that you can live with, and hopefully enjoy.
In fact, they are really just ways of generating ideas. Generating ideas is only one step in the process.
Answers & Comments
Some composers prefer to improvise their compositions, writing freely and letting ideas flow.
Other composers prefer to write down specific themes, and then let their subconscious come back to them later.
Still other composers would work out their music systematically, step by step, using formulas and mathematical equations.
None of these methods are better or worse than any other. The end result still needs to be music you composed that you can live with, and hopefully enjoy.
In fact, they are really just ways of generating ideas. Generating ideas is only one step in the process.