I read a lot of Hacker News, and people are always complaining about the cut-and-past StackOverflow code that ends up in different software, bugs and all. It seems this is a favorite thing to do with Indian and Paki programmers.
On a somewhat related note, I've learned to never half-ass anything that I write as "example" code. It will end up in a rocket or vehicle somewhere, and, while that probably isn't my fault, I still feel bad.
I'm usually working on an API or something, and I figure, you know, it's not terribly important that the test harness frees its allocations. It's not a real application, and it's just going to get cleaned up by the OS after it's done printing its "I did it!" message. Nope, that shit gets copied verbatim. And then 6 months later, I get a call: well we ran our app using your API for 24 hours, and it eventually ran out of memory.
I'm a crusty old bastard who thinks "AGILE" and "RAD" ruined software.
Give me a few more years and this dinosaur will be replacing some of the draining oil reserves.
Obligatory: Back in my day we booted that mainframe on a deck of porn cards we'd punched the bootstrap onto!
Oil does not come from dead organic matter
(post is archived)