WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2024 Poal.co

119

(post is archived)

[–] 5 pts (edited )

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.