this piece describes my preferred approach to programming better than anything I've managed to write so far (did I post this already? maybe so, but it's worth a repost)
https://the-nerve-blog.ghost.io/to-be-a-better-programmer-write-little-proofs-in-your-head/