4 ms·
Doesn't have to be hygienic, it's enough that fixing it doesn't justify the time/money costs for the programmer.
by coldtea 9y ago
Doesn't have to be hygienic, it's enough that fixing it doesn't justify the time/money costs for the programmer.
- blub 9y agoWe wouldn't want the programmer to spend too much money/time on fixing errors. After all, it's not like people would die if there's an error in the missile software: http://www.gao.gov/mobile/products/IMTEC-92-26 http://www.gao.gov/mobile/products/IMTEC-92-26 Not to mention they added even more HW to work around the leaks. No wonder those projects always run over budget.
- coldtea 9y ago>We wouldn't want the programmer to spend too much money/time on fixing errors. After all, it's not like people would die if there's an error in the missile software When exactly did pkg_config became missile software? As they say in meme-land, "that escalated quickly". Here's a novel idea: how about the appropriate level of effort/time/YAGNI-stuff based on the domain? Or do you write one-time scripts with MISRA rules?
- blub 9y agoThe sub-thread I replied to was linking to an anecdote about missile software. But I still think not freeing is pretty lame even in short-lived tools. If one is using a no-op deallocator at least the code is designed properly and could be repurposed.