Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Both patents and research papers are the original works of the author which are never attempted by any other person in academic domain. So what distinguishes a patent from a research article ?
Patents are for protecting intellectual property. Papers are for the dissemination of research results.