Found in 3 comments on Hacker News
jackess · 2016-11-23 · Original thread
This is the only thing I've seen that remotely comes close - but truthfully, the reason it's so hard is because it just comes with experience.

https://www.amazon.com/Think-Like-Programmer-Introduction-Cr...

tuzemec · 2012-12-27 · Original thread
I recently started reading "Think Like a Programmer" (http://www.amazon.com/dp/1593274246) and I find it quite helpful.

Fresh book recommendations delivered straight to your inbox every Thursday.