-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage of qualifying path in types #700
Comments
I wouldn't mind dropping them here, but FWIW I think they do add clarity -- when I'm working I often also have
Yeah, this is unfortunate. I don't want to see I guess we should just drop the |
hmm, perhaps |
I think that'd be too confusing because there is a real Probably we should just drop the prefixes and use bare |
This crate uses qualifying paths for types eg,
bitcoin::PublicKey
andsecp256k1::PublicKey
. I understand that this adds clarity, especially for types that exist in multiple places (like the given example). However qualifying paths likebitcoin::Transaction
do not really add any additional clarity.Note also that if the
bitcoin_primitives
crate comes into play thebitcoin::
paths will get a bunch longer/noisier (excluding using any alias magic).Would we be open to changing the qualifying path strategy in this crate? One suggestion would be to only qualify non-bitcoin types eg., still qualify the
secp256k1
types.The text was updated successfully, but these errors were encountered: