cmda-bt / cmda-bt/fe-course-20-21

Week 3: Higher order functions

Open
#83 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
30
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Chapter 4: Higher Order functions

Higher order functions are function that operate on other functions. They can be passed as a parameter. Using higher order functions, you can divide complex tasks in smaller operations to maintain the overview and make your code easier to read. Using higher order functions, you can sort of create your own language for your program which is probably easier to understand.

A good example of a higher order method is the forEach() method. This is a function which loops over the different values of an array, taking each individual value as a parameter. This way you don't have to write complex code to review the whole array.

Higher order functions make code simpler and less complex.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no file, test, or entry point; first locate where the course chapters are stored and read the surrounding Chapter 4 material. Done should be a completed Week 3 chapter explaining higher-order functions and including the forEach() example described in the issue.

Written by the indexing model from the issue text.

Assessment

Domain
content, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.