Sometimes, the brain feels overloaded.
You aren’t sure where to begin when coding.
You’re not sure of the structure of the code.
I had such a situation recently where I had to write a TypeScript script dealing with cloud stuff.
I felt overwhelmed.
So, I began by pseudo coding.
All I did was add comments, step by step, of the logic I needed to implement.
My mind began clearing up.
I could focus on taking small steps rather than feeling overwhelmed.
Afterwards, implementing the code became much easier.
Pseudo coding: do it whenever the logic gets complicated!
Awesome stuff, reducing cognitive mental load all the way! TDD can also help a lot with that.
Woah. Love this style of post.
Feels like poetry!