mercredi 19 janvier 2022

Increasingly Inaccurately Numbered List of Coding Tips

There are four ways I know to get into code.

1) Decide what you want to do next and write code for it. (Works great when you're already immersed.)

2) Find comments to add/improve and other ways to tinker and buff up clarity/correctness. (Works to slowly get you immersed because this is much easier than 1 and always possible if the code is yours.)

3) Run the code. Just do it. Play with the running program, look for something you feel excited to alter. Alter it. Any which way. Just do. Find the relevant code and leave it different and run it all again.

4) Sit down (or stand up) with someone who also codes and collaborate.

Despite knowing these things, I go through weeks and even months of being basically unable to do 1), because I can't find my way to the flow state that makes coding easy and fun, or challenging but the best jigsaw puzzle in the world.

5) Music.

Sometimes it really helps, sometimes it sinks the submarine.

6) Set a timer for attempting the above.

7) Keep drinking cups of decaf coffee until zone found.

All right that's all folks. I'm totally out of tips.