De Programmeursleerlingen van College Hagelstein
In hoofdstuk 5 beschreef ik hoe je eenvoudige functies kunt gebruiken, en hoe je functies kunt importeren uit modules. Dit hoofdstuk beschrijft hoe je je eigen functies en modules kunt creƫren. Als je niet meer weet wat hoofdstuk 5 over functies zei, doe je er goed aan om dat hoofdstuk nogmaals door te nemen.
Title | |||
---|---|---|---|
Introduction | |||
Why create functions? | |||
Creating functions | |||
Scope and lifetime | |||
Managing program complexity | |||
Modules | |||
Anonymous functions | |||
What you learned | |||
Multiplication tables | |||
Common characters | |||
Grerory-Leibnitz series | |||
Quadratic equations | |||
Loop-and-a-half (TODO) | |||
Binomial coefficient | |||
What is wrong? |