Checkpoint 6.6.1.
What is the purpose of generalization?
- Replacing integers with parameters.
- This may be a possible way to generalize, but not the purpose.
- Using a parameter that exists in several different functions.
- This is not the purpose of generalization.
- Taking a very specific task and making it more applicable to other situations.
- This makes your code more versatile.
- Creating two functions with the same purpose but different names.
- This is not the purpose of generalization.