IU agree, whenever you feel you're providing value, you should feel free to add a donation link, but I've seen some blowback against people doing it.
I'd love to hear your views on the UX side of things.
Well I'm no UX-er, far from it, so my opinion in this respect is purely personal.
I'd say donation requests draw the attention away from the main 'content'. This makes it 'harder' to consume the content, thereby devaluating it.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.