Sorry -- here's my treatise. Everyone loves or hates certain power tools and sometimes a tool from a good tool brand goes bad, sometimes a tool from a bad tool brand holds up. It mostly averages out.
I managed a power tool repair as part of a business I used to run. Saw lots of tools, saw which ones broke. The things that broke on certain tools which related to engineering were always the same, time and again. Bad switches on certain manufacturer's angle grinders, sliding mechanisms on certain reciprocating saws, bearing failures on certain routers, etc.
The things that broke which didn't meet the patterns were usually due to overuse or improper use. Recip saw cords would get cut off constantly. Dust built up inside sanders burns out armatures. Running too much extension cord with too small of gauge will kill any tool super fast. Batteries are always a crap shoot because they get damaged by certain types of use and often when you don't even realize it. Have to let them cool before recharging, don't run them down until the charge runs completely out, pushing a cordless drill really hard in any task will overheat the battery, etc. All of this will decrease a battery's life.
The guts of the batteries are ALL the same. The tool companies don't make batteries, they buy them from battery manufacturers, and battery technology is a hot topic (hybrid cars), but no one has built a much better mousetrap yet. Marketing BS is a HUGE part of selling tools -- no matter what they say about how tough their tool is, a 12v Li-Ion battery is a 12v Li-Ion battery.
Big box home stores dictate the model and the quality of the power tools they sell - the WalMart effect - "make it like this, we'll buy this many at this cost and we'll sell them for this price". I don't like to buy power tools at big boxes. Contractors' supply houses and honest-to-goodness lumber yards will have the right stuff. Oh, and Hilti doesn't make tools, they contract them out and that company is a marketing machine. For years the only way to buy their tools was from the marketing truck which visited the job sites and came back to sell the proprietary fasteners, bits, consumables and the same reps would take in tools for service. (like a Snap-on marketing model but without franchises) They make good corded hammer drills, that's the thing they do best.
Each power tool company has their niche category and in many cases their niche tool, like the aformentioned Skil wormdrive circular saw.
Porter Cable for routers and for sanders (unless you want to pay up for a Fein sander, which is the nuts)
Milwaukee for corded drills and "Sawzalls"
Makita's forte is cordless, especially drills. Their cordless impact drivers make me weep. If you don't have one, get one.
Makita also makes an awesome sliding compound miter saw.
Don't buy a large Makita breaker hammer, reciprocating saw or generator.
Bosch is the standard on corded hammer drills and breaker hammers. Cordless drills have been largely good but some specific models have been bad.
Skil Mag 77 worm drive circular saw. Period.
For an out-of-the ordinary brand, Metabo makes great angle grinders, very very good corded hammer drills and very good corded drills and cordless drills. If you find a good deal on a Metabo grinder, buy that thing. Their bigger breaker hammers are just okay.
For most of us, get a Makita 12v or 14.4v (at most) drill, get it on sale with a second battery, and the odds are it will last a very long time with care. If you think you need an 18v cordless drill, buy a 1/2" Milwaukee corded drill instead and get a good 12ga extension cord.
Dewalt is actually surprisingly cheaply built. A generation ago DeWalt was privately-owned maker of very good woodworking tools, especially routers. The Black & Decker people bought the DeWalt name, changed everything about the tool line and keep trying to convince us that they are still the tough tools our fathers knew. They are Black & Decker inside and I don't mean that as a compliment. B&D used to have a line of "contractor grade" power tools and they were EXACTLY the same inside and out as the DeWalts except for the color. They sold the DeWalts for more $$ but every single part was interchangable between the B&D's and the DeWalts.

They canned the matching B&D line after a couple of years.
Everyone has a story of how a certain tool of theirs held up. Any yellow tool which lasts at all under heavy use is that person's good luck. I wouldn't take a Ryobi if it was free.
Mileage ALWAYS varies; the odds favor Makita in cordless tools.