Sherlock Holmes vs. C. August Dupin

Mr. Holmes himself
Although, in my personal opinion, Sir Arthur Conan Doyle’s creation of Sherlock Holmes perfected the detective story, Poe created the genre 40 years prior to Holmes’ first adventure. Sherlock Holmes first appeared in Beeton’s Christmas Annual in “A Study in Scarlet”, published in 1887. Dupin’s first adventure, “The Murder in the Rue Morgue”, was published in 1841. Could it be concluded that Doyle borrowed much of the characteristic of Holmes from Dupin? These two characters have quite a few things in common. Holmes is known for smoking a pipe, while Dupin smokes constantly in his study in “The Purloined Letter”. Both have a trusty and helpful sidekick, Dr. Watson and the unnamed narrator of Dupin. And both use analogous styles of deduction. I would say that it is irrefutable that Doyle did not borrow some aspects of Holmes from Dupin.