This post is in Draft Mode - it will not appear on the site or in search results
How meta-programming will change how we code
Metaprogramming
- http://en.wikipedia.org/wiki/Metaprogramming
- Metaprogramming is the writing of computer programs that write or manipulate other programs (or themselves) as their data, or that do part of the work at compile time that would otherwise be done at runtime
- Benefits
- Productivity
- Quality
- Maintainability
T4
- http://en.wikipedia.org/wiki/Text_Template_Transformation_Toolkit
- http://msdn.microsoft.com/en-us/library/bb126445.aspx
NuGet
Could just use a template
Nuget Package Manager
- can change directory / project
- can use to invoke commands and add items
- NugetPackageExplorer
- Tools Folder
- Ini.ps1
- Tools Folder
Roslyn
Helpers
SyntaxReWriter - find node and add methods / classes / etc.