4 ms·
What would the "automated script" do? My use case for snippets is mainly to stub out tests, components, and stories - things that are largely an exercise in bo
by onion2k 7y ago
What would the "automated script" do?
My use case for snippets is mainly to stub out tests, components, and stories - things that are largely an exercise in boilerplate code with fill-in-the-blanks changes to start with. I can't think of a way to do that with a script that would be less effort than a snippet.
- proc0 7y agoI may be missing some key use cases, but presumably you would somehow use the same snippet again and again otherwise why have it in some tool, ready to go. Once you are using that snippet a lot, then I think the incentive to make it part of the running script is high, or even creating a new repo to track those snippets and then link that somehow.