hundreds-father-404
02/06/2020, 12:54 AMProvenancedBuildFileAddresses in a couple goals like fmt, lint, and test (so that they can look at the filesystem specs and only run on the specified files, rather than the whole target)
ProvenancedBuildFileAddresses is incredibly wordy. Any opposition to renaming to ProvenancedAddresses and ProvenancedAddress?
This is the definition:
@dataclass(frozen=True)
class ProvenancedAddress:
"""A BuildFileAddress along with the cmd-line spec it was generated from."""
build_file_address: BuildFileAddress
provenance: Spechundreds-breakfast-49010
02/06/2020, 1:52 AMhundreds-father-404
02/06/2020, 1:53 AMaddress: BuildFileAddress or stay build_file_address: BuildFileAddress?
Before MyPy, I’d always say the more verbose. Now, it just feels wordy and repetitivehundreds-breakfast-49010
02/06/2020, 1:57 AMhundreds-father-404
02/06/2020, 2:06 AMaloof-angle-91616
02/06/2020, 3:45 PMProvenanced and would suggest another name unless there's a reference i'm missinghundreds-father-404
02/06/2020, 3:48 PMAddressWithOrigin? I don’t love having with in the name
OriginedAddress seems offhundreds-father-404
02/06/2020, 4:24 PMAddressAndOrigin? Slightly better than AddressWithOrigin imoclean-wolf-14674
02/06/2020, 5:43 PMAddressAndOrigin - Provenance is a bit too muchhundreds-father-404
02/06/2020, 5:45 PMAddressWithOriginSpec. Thoughts? Imo, very clear. Possibly wordier than I’d likehundreds-father-404
02/06/2020, 5:48 PMAddressWithOrigin. It’s clear from the fields that origin is a Spec and that’s more of an implementation detail than anything
with better expresses the relationship than and. Really, this is an Address with some extra information about how that address first got resolvedaloof-angle-91616
02/06/2020, 5:50 PM