hsf-training / hsf-training/cpluspluscourse
Better exercises for lambda and stl
Nobody has claimed this yet.
- Dominant language
- TeX
- Stars
- 313
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Description
After having a longer discussion yesterday with bernhard, i got the following idea how the difficulty of understanding lambdas and stl could be eased.
I would suggest the following exercises (in order of execution):
lambda simple: exercise to write simple lambda function, maybe even start with rewritting an existing function by a lambda - no usage of stllambda and stl - simple: rewrite an (existing & fully functioning) program that usesstlwith function object to replace these function objects with lambdaslambda and stl - advanced: have an unfinished program wherestlfunctions and their respective lambdas must be added. could be that in the readme there is a list of possiblestlfunctions to decide from
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the existing C++ course exercise structure before planning the three proposed lambda and STL exercises. Done means providing simple lambda, lambda-and-STL simple, and lambda-and-STL advanced exercises in the stated order, with the advanced exercise including guidance on possible STL functions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- content
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100