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

Advanced Scriptblock koans #393

Open
vexx32 opened this issue Jun 1, 2020 · 0 comments
Open

Advanced Scriptblock koans #393

vexx32 opened this issue Jun 1, 2020 · 0 comments
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 Jun 1, 2020

Describe "Koan(s) You Suggest"

We have some basic scriptblock-focused koans in AboutFunctionsAndScriptBlocks, but there are a lot of more advanced things you can do with scriptblocks that we can cover.

Context "The Scope of the Koans You Suggest"

Among other things, we should cover:

  • All of the scriptblock static and instance methods / members, especially GetNewClosure() (see this blog post
  • Creating functions from scriptblocks / pulling scriptblocks from function definitions
  • Using scriptblocks and the call operator to execute code in module scopes (maybe better left un-taught?)
  • Probably a lot more in there once you start digging; there's some PS help docs for scriptblocks that we can reference as well.
@vexx32 vexx32 added Issue-Suggestion This should be added! Category-Koans Invoking the Great Doubt 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 Jun 1, 2020
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
None yet
Development

No branches or pull requests

1 participant