-
Notifications
You must be signed in to change notification settings - Fork 729
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
engulfs
(anti-)alias: during
?
#742
Comments
I did not choose
I do hear you on the point that If we want a less obscure word, I think maybe something like I'd be curious if lots of other people find this name confusing. I'm certainly not married to it and clarity is super important to an API like this. |
👍 on all points Rather than waste time thinking of a better (anti-)name, the docstring sounds like a fast and effective solution, something like:
|
Sounds good to me. |
I wasn't entirely sure what
Interval.engulfs
did based on the documentation:The OED didn't help much, although I do find the connotations interesting:
(But if the engulphing [sic] is that complete, it would suggest that it didn't just contain the other interval, but contained it and then some?)
I ended up doing a unit test to check, and looking for the source code, and then thought "I can't be the only one with this literary impediment" so I wondered if you might consider creating an alias (or rather, an inverted alias) named
during
? It would work well:As for the name,
during
seems clear and seems to fit well withequals
,overlaps
,abutsStart
,abutsEnd
,engulfs
?The text was updated successfully, but these errors were encountered: