Ask HN: What's the best way to create and maintain a blueprint for my projects?
I feel generators like Yeoman are too opinionated, clunky, get outdated quickly, and also separate from the codebase. Git-cloneable starters and boilerplates have similar issues.
I'd much rather have a "blueprint" file similar to the DevOps world. I can clone popular ones, reuse components to make my own, and whenever I want to add some new feature to my project I just change my blueprint and it would create a todo list of changes I need to make (I don't know if i completely trust automated manipulation of generated-then-altered code, but it could definitely have code generation the first time). It could even turn into a Git Flow-like development process. Something like TDD or unidirectional project changes: change your blueprint, before you make major/minor (non-patch) changes to your code.
If implemented in something like YAML with a package system like NPM, your blueprint could refer to vendor blueprints and then if you upgrade your vendor blueprint the same "diff todo" above could tell you what you need to change to implement the new version.
Hopefully someone can point me to a tool that acts like this, or explain to me if I'm being too naive to the complexity with such a simple example, or missing something else altogether.
x-post from /r/learnprogramming: https://www.reddit.com/r/learnprogramming/comments/4769ee/whats_the_best_way_to_create_and_maintain_a/
0 comments
[ 5.2 ms ] story [ 12.3 ms ] threadNo comments yet.