No. Theres nothing wrong with ur approach. I should have emphasized that this is a contrived example. Sorry about that. My goal is to show that tiny specialized functions can be used and reused to compose into a bigger program that is linear to prevent or minimize `if..else` statements.
I used the fibonacci since all or most people are familiar with it.