There is no difference from a programming perspective, they are each others equivalent. The compiler will pretty much do what you have done on the first line with the second line behind the scenes. So I would always opt for the second approach (less code).
Re: Your Edit
Probably because they feel its better to show developers the proper way of doing things rather than shortcuts. Your guess is as good as mine :)