Mark Suster just put up a long post on this topic. His message is "it depends" and he explains the rationale for investing in growth vs getting profitable.
I have come to think about this differently.
If you are bootstrapping your company without the help of outside investment (ie angels, VCs, etc), then you have to be profitable from day one. No debate or discussion there.
But if you have the ability to lose money because of the availability of outside investment, then you can and should lose money in the first three stages of your company's development which are: 1) building the product, 2) shipping the product, 3) scaling the revenues. But once you have achieved those three objectives, I believe you should move on to 4)--getting profitable.
There is this idea that you can't grow really fast and be profitable at the same time. There is also this idea that you have to keep adding engineering and product resources as you scale your business. And there is this idea that more salespeople equals more sales. I have found that all three of those ideas are wrong to some extent. And I have found that really strong execution in product, engineering, and sales, based on doing less, not more, and based on having a high performing team without a lot of baggage, will allow your company to grow fast and be profitable at the same time.
We have a number of portfolio companies that are now seven, eight, nine, and ten years old that for most of their lives have been unprofitable and focused on growing users, revenues, and the team. I have been working closely with a few of them in the last year or two to help them to change their mindset to get profitable. This has, in some cases, meant reducing the size of the team, in a few cases significantly.
It has been enlightening to watch what has happened with this cohort of companies. They have kept growing, sometimes at a higher growth rate than before the belt tightening. They are better places to work, more stable, more focused, and more successful. They are better companies and they are more valuable companies. They are easier to finance and they are easier to exit.
I would encourage all entrepreneurs and leaders out there to embrace the idea of getting profitable sooner than you might think you can or should. It's good for your companies and it is good for you.