Best way to Learn the code of Arduino

memorize?

I don't understand.