You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SF.12: Rewrite to eliminate the notions of "project" and "component"; also copyedit.
The major change here is simply to delete parentheticals that muddy the waters
by talking about files belonging to "projects" or "components". My experience
has been that in industry we have "codebases," which are sometimes split up into
"repositories" and/or "libraries" (which may be installed in e.g. /usr/local/include
or may be used straight from their source tree), and everyone works on everything
or at least knows someone who works on the other thing. Figuring out what's
"in the same project" and what's "in a different project" is often fuzzy.
I would try to set up the build system so that its `target_include_directories`
(or equivalent) could find every header via `<>`, and then use `<>` everywhere:
even for files in the "same" component. (This does require that you follow SF.12's
advice for "Library creators", though, which I admit I don't for just about all
of my hobby projects.)
Strangely, the "Enforcement" section seems to have been written by a `<>` partisan
like me, even though the rule itself is `""`-endian.
I copyedited the "Enforcement" section for grammar; did I unconsciously misinterpret
what it was trying to say? What *was* it trying to say? Should it just be deleted?
0 commit comments