Study a bit of math, practice some equations and when you get back to programming language, you'll see how your brain will work in a different way. Believe me, this works as magic.
Programming language is nothing more than equations of math, lots of them.