3 ms·
Because these rules have a cost, and sometimes the cost is not worth it for non-safety critical code. It would be a PITA for general purpose code to avoid all d
by 4ad 10y ago
Because these rules have a cost, and sometimes the cost is not worth it for non-safety critical code. It would be a PITA for general purpose code to avoid all dynamic memory allocation.
- vbtemp 10y agoWith the sole exception of item (3) in that list (pertaining to dynamic allocation), which others carry a cost?
- jhomedall 10y agoNot allowing recursion makes functional programming impossible. Giving all loops a fixed upper bound comes at a cost to code readability (consider the example of traversing a linked list, as given in the article).