Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Katas - Bugfixing #282

Open
1 task
vexx32 opened this issue Oct 4, 2019 · 2 comments · May be fixed by #344
Open
1 task

Add Katas - Bugfixing #282

vexx32 opened this issue Oct 4, 2019 · 2 comments · May be fixed by #344
Labels
Category-Koans Invoking the Great Doubt Issue-Suggestion This should be added! Up For Grabs / Hacktoberfest 💻 If it's Up For Grabs, take it and run with it! If not, ask if it's in progress / you can take it.

Comments

@vexx32
Copy link
Owner

vexx32 commented Oct 4, 2019

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).
@vexx32 vexx32 added Category-Koans Invoking the Great Doubt Hacktoberfest Issue-Suggestion This should be added! Up For Grabs / Hacktoberfest 💻 If it's Up For Grabs, take it and run with it! If not, ask if it's in progress / you can take it. labels Oct 4, 2019
@vexx32 vexx32 added this to To do in Koan Topic Tracking via automation Oct 4, 2019
@usrme
Copy link
Contributor

usrme commented Oct 10, 2019

Not sure how easy this is to implement, but how about one to discourage the use of backticks with an example where a line continuation using a backtick will fail if it is followed by a space?

@vexx32
Copy link
Owner Author

vexx32 commented Oct 10, 2019

The only issue with that is that typically we don't have files with trailing spaces (actually, my editor is configured to auto-trim them on save).

It is a good thing to cover, though. :)

@indented-automation indented-automation linked a pull request Jan 8, 2020 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category-Koans Invoking the Great Doubt Issue-Suggestion This should be added! Up For Grabs / Hacktoberfest 💻 If it's Up For Grabs, take it and run with it! If not, ask if it's in progress / you can take it.
Projects
Development

Successfully merging a pull request may close this issue.

2 participants