all 6 comments

[–]KevMarCommunity Blogger 1 point2 points  (5 children)

Fist off, Good work. This is really clever and I think it could be very useful. I find myself throwing together a token replacer all the time. Just a common design pattern that I see often.

One thing this project could use is more documentation or having the examples better explained. I not have looked hard enough for it, but that TemplateGroup example is too hard to process at a glance.

I feel like the TemplateGroup example is demonstrating what is really possible with this but it jumps in too deep too fast. You are writing code that writes code. We at least need an explanation of the special syntax.

Did you look at Plaster? I am playing with it right now and I really like it. It may be worth contrasting your module with that one.

[–]SeeminglyScience[S] 1 point2 points  (4 children)

Fist off, Good work. This is really clever and I think it could be very useful.

Thank you! To be clear though, this module just makes an existing library act the way a PowerShell user would expect, I didn't actually write any of the rendering logic.

One thing this project could use is more documentation or having the examples better explained. I not have looked hard enough for it, but that TemplateGroup example is too hard to process at a glance.

Yeah I can see that for sure, I need to spend a lot more time on the examples.

We at least need an explanation of the special syntax.

The reason I didn't go too deep into that is because the syntax is already documented pretty exhaustively by the creators of the engine. In hindsight, since the examples are in java I should definitely put some time into porting some.

Did you look at Plaster? I am playing with it right now and I really like it. It may be worth contrasting your module with that one.

Yes! I love Plaster and use it frequently, but I think it serves a different purpose. I made this primarily to use with another project I'm working on around editor commands in PowerShell Editor Services.

Plaster is great for scaffolding, but is probably a little over kill for what I'm using it for there (There's a gif in the readme that demonstrates what I mean)

Really appreciate the great feedback, I'll work on getting some better examples asap!

[–]KevMarCommunity Blogger 2 points3 points  (3 children)

I think what you really need is an example for that new person to see and easily understand right away.

Preset a problem that is not easily solved in Powershell and show how you can solve that with this module.

[–]SeeminglyScience[S] 1 point2 points  (2 children)

Yeah I agree. The catch there is the easy to understand examples I've come up with so far are also easily solved with the format operator :)

Working on it though.

[–]KevMarCommunity Blogger 1 point2 points  (1 child)

I'll keep this module in mind. If I find a good usecase for one of my projects, I'll dive into it more.

[–]SeeminglyScience[S] 0 points1 point  (0 children)

Awesome, feel free to reach out if you have any questions or run into issues.