Google are crap coders.
There, I said it.
Nobody seriously learns from Google's code. They don't practice what they preach. They write JavaScript as if it were Java. They can't even get something as basic as google.com to validate.
Google are not the people you want to be copying.