mercator_rejection@programming.devtoProgramming@programming.dev•when is it best to use a recursive function vs a for loop
8·
11 months agoAny recursive algorithm can be made iterative and vise versa. It really depends on the algorithm if the function calls are a major factor in performance.
For similar reasons, I stopped ordering with any alterations at all. I used to customize order a little and they always messed it up. It’s pretty rare that I go at all, but I figure that way it’s the standard meal and they can just go in autopilot making it. Less disappointment when things go wrong