contract / core-eval builder filename convention #10490
Labels
code-style
defensive correctness patterns; readability thru consistency
enhancement
New feature or request
needs-design
technical-debt
What is the Problem Being Solved?
We have dozens of builder scripts that use
writeCoreEval
and get invoked asagoric run SCRIPT
.They're pretty formulaic... we might even be able to apply helpful lint rules like we have for
*.flows.js
.A filename convention for that would help.
The closest thing we have to a convention currently is
init-*.js
, but they do more building than initializing.inventory of builder script filename prefixes
Description of the Design
*.contract.js
is an emerging trend.*.start.js
for core-eval has some appeal.Perhaps
*.build.js
for this?Security / Scaling / Upgrade Considerations
not much. Might help a bit with upgrade code consistency.
Test Plan
Existing tests should suffice, though there's a risk of filename references that aren't tested and aren't detected by static analysis.
The text was updated successfully, but these errors were encountered: