This depends on your business and your preferences, really. Historically, .com domains were used to let the visitors know that the website in question was a commercial one. That's why many businesses have a .com domain. The thing with .com domains is that they are very popular. So, opting for another top-level domain (TLD), like .io if you work in technology, can actually work in your favor. It will make your website more memorable, and you'll have an easier time dominating the search results. Keep in mind that .com domains are usually more expensive than other alternatives (.net or .world, for example).