Open
Description
Describe "Koan(s) You Suggest"
We should add some koans in the Katas folder that contain functions that almost work but contain some critical but difficult to spot bug.
Context "The Scope of the Koans You Suggest"
Any common but difficult to spot bugs are game, as many as you can find, but preferably no more than one or two per bugged function.
Ideally we should shy away from any functions that modify system state; if this is a critical component you can work with the filesystem via the TestDrive:
PSDrive and Mock
any other critical commands that would otherwise be potentially dangerous or undesirable to execute directly.
Context "Additional Information"
Suggestions so far:
- Reusing a parameter variable that has a type attribute (so trying to overwrite the parameter value either fails or causes some issue later in the function due to the conversion that would occur).