You're right in pointing out the performance difference between a while loop and a higher-order function that I neglected to mention. I agree that under different contexts, for example, in an embedded system or in high-speed frequency trading, you may choose to use a while loop or an if statement due to memory or latency constraints.
My goal for writing this article is to encourage younger software engineers to explore different syntactic sugar and programming paradigms to express themselves. The article may have been too provocative for some. Nevertheless, thanks for reading & sharing your perspective!