-
Notifications
You must be signed in to change notification settings - Fork 52
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
View hint #303
Comments
In relation to this proposal the reason I preferred |
The sense in which force is not orthogonal is that the meaning of one option affects the meaning of another, not just the overall outcome. Either way The main practical issue for me is that I don't want to be misled by a |
Base has the internal function |
Yes, but Tables.jl 1.8.1 is already released. @quinnj - are you OK to change the name of the kwarg from |
The conclusion from the discussion is to change the name from @quinnj - do you prefer to deprecate |
I think it's pretty easy to deprecate, so might as well do that. |
PR up: #304 |
I vote for |
Maybe it is not relevant for many people, but e.g. we use |
Got it. Thanks for the clarification! |
Currently
subset
takesview=
which is a hint that may be ignored. I don't like the idea of ignoring keyword argument values, so I'm considering the issue. On Slack some approaches were discussed,One option is to rename
view
toviewhint
.Another option is the
view
could be a hint supplemented by a second argumentforce
orstrict
. I normally prefer thatforce
/strict
arguments be explicit about what exactly is being forced, for exampleforceviewoption
.But then once that's the situation, it seems odd to have both
view
and an option for saying "I really mean it" rather than just passing eitherviewhint
orview
with the latter being enforced. The enforcedview
argument could be added in a separate PR, which would make this option very similar to the first.Therefore I propose renaming
view
toviewhint
. Then in the future if users so desire, add aview
argument that would be enforced. They would combine according to the following rules:An alternative future implementation could define a
subsetview
function if desired.The text was updated successfully, but these errors were encountered: