I came across Stack Overflow's license a week ago, which I had no idea about. Seems they use CC BY-SA there (before, 3.0, now, 4.0). If I'm publishing code there, it's because I want anyone to do whatever people want with it. Get it to some app to be sold, change it, improve it, get it on a free app, whatever, I don't care. If I did care, I'd put them on GitHub or similar with some license. I might find it cool to have credit in case the person just copy-pastes the code (which is perfectly fine for me), but not a big deal, I don't mind not having it.
Also I came across a person's idea of putting the license they want their code snippets to be used with, on their Stack Exchange profile, as I did with mine. But I think I may have chosen the wrong license.
So which license should I choose? I've heard about CC0, WTFPL and Unlicense. But all of those seem to have problems. Unclear, badly written, always something. Then there are other licenses, like MIT, GPL, Apache... But I'm not sure those are intended for what WTFPL means, but seem not to be able to provide. What's actually the best license for "WTF you want to do" but that actually works...? So I can put that on GitHub little projects and Stack Exchange profile and on any other places I find that the code is just for people to do whatever they want with it.
PS: I don't understand too much of this. I started to read a bit about this a day or 2 ago, so I don't really know what all the licenses do and I'm not used to this, for example.