Clean code & Smooth development

Ahoy!

I am looking for some tips on keeping clean code. I generally keep my code pretty organized, however whenever I struggle on some implementation, it gets messy. I’m curious on how I can avoid this. Also, whenever developing something, how can I keep on task and motivated? Often, I’m not quite sure what I am going to create. I just go into development with an image in my mind… which has proven to fail for me.

Thanks!

  • A