Nomenclature question: do we have a standard way o...
# development
a
Nomenclature question: do we have a standard way of talking about code that is not test code? I’d normally say “functional”, but that feels loaded these days
h
In what context? Imo either "source code" or "production code"
a
Specifically to contrast with tests in target types
👍 1
h
I usually say library code
a
We’re in the process of deprecating “library” as a term in targets, and doesn’t library contrast with “application”?
h
I guess
I was thinking of terms to use in casual conversation, are you naming a class or something?
a
it’s for a help string for
java_source
vs
junit_test
I ended up going with “library/application code”, which is verbose, but clear
h
Benjy you might want to weigh in on naming at https://github.com/pantsbuild/pants/pull/12976 and https://github.com/pantsbuild/pants/pull/12957. We're still trying to figure out naming conventions in this Target Gen world