How the developer’s brain works
- I need to finish the PoshCode module, so I start working on that …
- I realize the “Configuration” module that is inside PoshCode, is actually more important than PoshCode (that is, I think more developers will use it, because even PowerShellGet users need this)
- I decide to separate the Configuration module project and fully test it.
- I start writing tests for the Configuration module but remember that I hate RSpec syntax.
- I fork [Pester], and add support for Gherkin and feature definition files
- I return to development on the Configuration module, using it as a testbed for missing features in Pester’s Gherkin support.
- I finally finish the Pester Gherkin support and get it accepted to the Pester repository, feeling a great sense of accomplishment
- The Pester team wants to refactor the main module to make new interfaces like Gherkin easier to write, but puts it on a back burner for the next release.
- I set my project aside until they have time to work on the refactor, forgetting that the whole reason I was working on this was so I could finish PoshCode …
- I decide to write a blog post about it …
- I remember that I’m still using a Python static blog generator …
- I find Rob Mensching’s TinySite, but it’s basically an abandoned prototype, and I think it’s ridiculous that it uses json …
- I wonder if a static generator in .Net would be a good way to present on templating langauges for our local user group
- I consider how nice it would be if the generators had PowerShell cmdlets instead of weird multi-command mode commands that don’t actually shell
- And two weeks later, I have a first draft version of PowerSite, my very own static blog engine, that works well enough to switch this blog over to it, and I can write that blog post…
But I totally can’t remember why I thought the Pester/Configuration/PoshCode thing was worth blogging about in the first place.
Oh, wait, what ever happened to that Configuration module? Did I finish that?
Ohhhhh… shoot! The PoshCode module was supposed to be finished in August!
True story. This might be why God invented managers.
Leave a comment
Your email address will not be published. Required fields are marked *