This week was all about recursion, inheritance, exceptions and testing code. Moreover, in order of difficulty (lowest to highest): Testing, Exceptions, Inheritance and Recursion. Despite, reading all that I can on recursive functions the nature of the implementation still evades me. My plan of "attack" (for lack of better words) is to search for videos online on the subject for non-programmers and then go up in difficulty from there. Once, I have watched all the online video resources available to me, I will look for recursive problem sets starting from very basic recursion to more difficult recursive functions. I will write down my progress in championing recursion in the next couple of weeks.
Sounds like a good plan for learning recursion. I usually add: trace a recursive function from the simplest to more complex inputs, and when you see a recursive sub-call, remember that you have already seen the solution...
RépondreSupprimerI will definitely try that, and come to more office hours.
RépondreSupprimerThanks!