I go with reading the manual. That is how I learned Fortran back in the day. I learned PHP by reading the php website. PHP for me was just Perl will all the logic ripped out and replaced with words.
I am not sure reading the manual is a good way if you don't already know a language.