Endoscopy is a less invasive procedure, has a faster recovery time, causes less discomfort, and reduces the risk of complications compared to open surgery.