to access the ID of a post in WordPress. This answer on SO suggests that the first method is quicker to process, while the second method is quicker to write. I also noticed that the first method is often mentioned in the Codex while the second method is mentioned on the_content filter page. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.