Memorizing syntax may not make you a
good programmer, but it can certainly make you a more productive one. Just like Jeff Atwood's post on
programmers as typists, memorizing syntax means that you have less of a disconnect between thinking of what you have to do and having it written down in compilable form. This means less interruptions, less disruptions on your way to MSDN or whereever.
There may be all sorts of techniques to improve memorization. I don't know. To me, it comes purely of usage and practice, and maybe of mindset - if I say to myself that I
need to remember syntax, maybe it helps me focus on it.