General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Lawrence D’Oliveiro
Low Level
comments
Comments by "Lawrence D’Oliveiro" (@lawrencedoliveiro9104) on "why is recursion bad?" video.
Actually, CPUs have been reproducing themselves for decades. Consider, you can no longer do modern CPU design without the help of a computer. And yes, there are legitimate use cases for recursion. I wrote a tool for doing version control on Blender documents. It’s not enough to store the base document in the repo, it might also have external dependencies that also need to be included. Some of these dependencies need to be found by scanning node graphs, which can contain node groups which in turn recursively reference further node graphs. Do you really want to code that with an explicit stack? Recursion is just so much easier to code, and easier to understand.
9
Linux is the most versatile development environment. Even if the target system will not be running Linux, you can still use it for your cross-development platform.
3
Let’s see your tail-recursive version of Ackermann’s Function.
2