Recursion For Programmers

Understanding how recursion works

off original price!

The coupon code you entered is expired or invalid, but the course is still available!

Recursion is a powerful programming technique. A function that calls itself recursively not only saves programming effort and avoids repetition but it can also be used to navigate complex structures such as Trees and Class Hierarchies.

This is an intermediate-to-advanced level course. It is aimed at programmers who can already program confidently in one or more programming languages. It is not appropriate for beginners.

The courses includes numerous short sample programs to show how recursion works. There are samples written in C, Ruby and C#. However, you don’t need to program in those languages to follow this course. Recursion works the same way in all mainstream programming languages. This course explains the theory and the practice of recursion. You can use the techniques that are taught to write recursive functions in whichever language you prefer: C, C#, Java, JavaScript, Python, Basic, Pascal and others. The course is not about any specific language.

This is what you will learn…

What is recursion?

How variables are scoped in recursive functions

How recursive functions return values

The Stack and Stack Frames

Debugging recursive functions

Recursion v Iteration

Stack Corruption, and how to avoid it

Infinite Recursion, and how to avoid it

Recursing Fibonacc Numbers

Recursing a Class Hierarchy

Trees and recursion

Navigating subdirectories recursively

Your Instructor

Huw Collingbourne

Huw Collingbourne is the technology director at SapphireSteel Software, developers of tools for Microsoft Visual Studio. He is author of The Book Of Ruby from No Starch Press. He runs Bitwise Courses (http://www.bitwisecourses.com) and teaches courses on a range of programming topics.

Huw has been a programmer for more than 30 years. He is a well-known technology writer in the UK. For over ten years he wrote the Delphi and Object Pascal programming column for PC Plus Magazine. He has also written numerous opinion and programming columns (including tutorials on C, C#, Java, Smalltalk, Delphi and Ruby) for a number of computer magazines, such as ComputerShopper, Flash & Flex Developer’s Magazine, PC Pro, and PC Plus.

In the 1980s he was a pop music journalist and interviewed most of the New Romantic stars, such as Duran Duran, Spandau Ballet, Adam Ant, Boy George, and Depeche Mode. He is now writing a series of New Romantic murder mysteries.

At various times Huw has been a magazine publisher, editor, and TV broadcaster. He has an MA in English from the University of Cambridge and holds a 2nd dan black belt in aikido, a martial art which he teaches in North Devon, UK (http://hartlandaikido.blogspot.co.uk/). The aikido comes in useful when trying (usually unsuccessfully) to keep his Pyrenean Mountain Dogs under some semblance of control.