I think that these flashlights from Harbor Freight rock and I LOVE the price. They have a magnet on the back as well as a hanging hook, plus they have a small second light on the side. They use replaceable AAAs.
Digital Savings and Coupons from Harbor Freight
And, they aren't cylindrical, which is great for any work that requires the light to stay in place on a flat surface.
The other little free 6 LED flashlights from HF are not dependable, as they lose their ground at the bulb head rather quickly.
I guess I've been lucky with them so far--I have a lot and only a few have crumped out.
Other observations:
1) I got rid of all flashlights that take incandescent bulbs. The LEDs are more dependable and go through batteries slower. I did keep one small Maglight that has a lot of history behind it.
2) Quantity is important. Like scissors: I have a few good flashlights (and scissors) in places where I'll use them a lot and remember to put them back, but sprinkling cheap flashlights and scissors around the house has saved me a lot of steps (and searching, and finger-pointing at DW).
3) I've "bit" on the expensive alkalines for some uses, the ones that claim a 7+ year shelf life. I still use the no-name alkalines for the devices that get the most use, but for things that sit idle most of the time but are inconvenient when they fail (garage door remote, garage door keypad, home safe with electronic lock, etc), I'm buying in to the advertising about new chemistry that reduces internal standby leakage. I'd like to learn more about that.
4) Smoke detectors: I use the cheap alkalines and replace them annually. If they did run down in less than a year, the detector would beep, and that never happens. I only buy smoke detectors that take AA batteries, and the ones I remove work great in seldom-used flashlights and other uses for a long time.