In Mage_Core_Model_Abstract there is the getCollection method that is widely used.
But, I had never looked at the getCollection method until now. I can see that all it does is call $this->getResourceCollection()
What is the point in having getCollection and why don’t everyone just use getResourceCollection instead?
As for my point of view, it just gives me more clean code for model collection retrieval, without unnecessary typing of word Resource all the time. Also if you look into Order model or Quote model, you will see that it also using simplified method name for collection retrieval of items, addresses, payments, etc.
If it would be named
getItemResourceCollection(),getAddressResourceCollection()instead ofgetAddressCollection()orgetItemsCollection(), amount of characters you type during development is increasing. There were no explanation about whygetCollection()should be used in favorgetResourceCollection()while I was working in core team, but it was quite logical for me to use shorter name of method.At least non of these methods are marked as deprecated, so you can use them both.