https://pantsbuild.org/ logo
#development
Title
# development
a

ancient-vegetable-10556

09/22/2021, 4:35 PM
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

hundreds-father-404

09/22/2021, 4:37 PM
In what context? Imo either "source code" or "production code"
a

ancient-vegetable-10556

09/22/2021, 4:37 PM
Specifically to contrast with tests in target types
👍 1
h

happy-kitchen-89482

09/22/2021, 4:38 PM
I usually say library code
a

ancient-vegetable-10556

09/22/2021, 4:39 PM
We’re in the process of deprecating “library” as a term in targets, and doesn’t library contrast with “application”?
h

happy-kitchen-89482

09/22/2021, 5:05 PM
I guess
I was thinking of terms to use in casual conversation, are you naming a class or something?
a

ancient-vegetable-10556

09/22/2021, 5:06 PM
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

hundreds-father-404

09/22/2021, 5:06 PM
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