Replies: 1 comment
Specs Are "Comment-Like"Specs should behave like comments in the following sense. Removing all comments from a codebase never causes a compile error. The CaveatsRemoving some but not all specs may cause a compile error because of context-dependence. For example, a Comments have insert/remove symmetry: if the code compiles, inserting a comment cannot cause a compile error. The same does not hold for specs because of context-dependence. Each spec is validated (for syntax, name resolution, etc.), which means that inserting a spec can cause a compiler error. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The goal here is to discuss the ergonomics of spec annotations and document high-level decisions.
All reactions