Stealing code ;-(
I don't know why I even let it bother me but a lot of times is still does. Usually starts out with me working on something, an article, a book, a newsgroup question. I start searching around and use words that I think describe what I'm looking for. Low and behold, there's an article on X. Great. Click through, start reading it and then realize Cuckoo c = new Cuckoo(); or some other code looks really familiar. Look up at the site - nope, not mine. Look at the author - nope, not me. Look for credit, nope, none given. Look at the variable names or namespaces, "Gee, this guy decided to use KDN.xxxx as a namespace. I use KDN for KnowDotNet - small world I guess." except that it is my code. Then I start wondering, did I give anyone permisson? If anyone asks I'm normally ok with it but if I wrote it, I'd probably at least have asked for some credit.
Then being a grown up kicks in. Putting code samples on the net means some folks are going to take it and use it which is what it was up there for in the first place. But others are going to take it and try to take credit for it. It's life. Get over it. Quit whining. Write a blog post about it if you must and then shut up about it - you're too old to snivel, particularly about something like this. Then I go back to what I was doing....