I think I've been insulted, but I'm too old to be sure
The WD in WD-40 stands for water displacement. It works for that and some other things but it is not a very good lubricant. I've had very good luck with keeping my chains clean and relubricating them with chain saw chain and bar lube. It's rather thick and heavy, doesn't sling off too bad and for some odd reason doesn't seem to trap and hold dirt as bad as some thinner lubricants I've tried.
Like everything else with this hobby, find something that works for you and let others do what works for them. That's why there's chocolate & vanilla.
Tom