Programmer Humor @programming.dev Like A Duck @programming.dev 2y ago if else if else if else Crosspost: https://lemmy.ml/post/488358
Nope recursion would be a bigger cable connected to same cable only smaller, connected to the same cable only smaller, etc..If this is how your recursion looks like you have a problem and you need to rethink your recursion step and and stop condition :)
I disagree. Recursion is the same thing over and over again until the exit condition. Nothing is getting smaller except the remaining entries.
case
switch case
https://assets.tripplite.com/large-image/srcase6u-other01-l.jpg