These days, I would avoid HP
In the mid-90s, IBM was the one to avoid but they eventually got their act together and produced better machines, and very good laptops.
In the late-90s, HP was pretty good and eMachines were terrible. But today, I think they are about equal. No PC out there is that bad as they have either gone out of business or greatly improved. Dell was on the rise and eventually they got their quality up.
Sony was great back then but others have caught up and today's Sonys seem overpriced. Dells, some models, are probably just as good.
As much as I hated Dell 15 years ago, more than any PC, they are probably the best value for the dollar in the PC world.
Today I would avoid HP due to the wild swing in prices, quality, and corporate leadership over the years. Other companies seem safer to buy from. I keep an eye on the company, too as that is one factor few look at. While Apple has always been good for me and never let me down, their products seemed best when Jobs ran the show. I trust his intentions more than Scully in the past, though Scully may have been the best person to take Apple big. HP, which is not merely big but huge, is now more of an arbitrage racket and I would trust Bernie Madoff more.
This is one reason I like Apple, that they have not become so big, like HP, that in bad times, companies like HP feel they have to buy out other companies, just to sell off the pieces to make a profit or seriously reduce the ink in their already overpriced cartridges. I didn't think I would see a more predatory company than Microsoft (in its Bill as CEO days), but HP has taken the cake.