DEV Community

Discussion on: How to improve my programing logic?

Collapse
 
jhordan92 profile image
Jhordan

That is a hard question.
I personally believe that everyone has their own process. Perhaps freezing is yours, but the important part is not to get frustrated. You can do pseudocode exercises, listen to different kinds of music while you code, so that your mind gets a different rythm.
The tips I give you are:

  • Define the objective to achieve
  • Write the steps to get to that objective (In a piece of paper works for me) Until here, no code has been written.
  • Define what gets in your way to get to that objective (those should become your validations)
  • Now start coding straight to the objective. Completely ignore the validations or the "make pretty" parts, all of that can be last.