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
Documentation of _.slice() negative indexes #3627
Comments
I think the shoutout to the |
Thanks for your reply. I severely disagree. You document the parameters shortly thereafter, and nothing of the sort is mentioned there; in fact, you only reference Array#slice because you want to tell people that "dense arrays" are returned (which isn't helpful at all for this; ask any random JS dev and chances are they don't even know what that is). I am replying to this because now I cannot use negative indexing because superiors think it's unreliable (because undocumented) behaviour. If stringent documentation is not important to you, I can live with that; they, as it seems, can't. |
Ah, that's a bummer. For them, |
@jdalton So, there's an omission in the docs. Your argument that it's covered anyway is shown by @timo-lindemann-victors to be invald. But you don't want to fix it - because. I'm a bit troubled, that complete documentation seems to be of no concern to you. |
Even though #3627 has been closed, negative indexes should be documented.
Thanks for the PR @jnfingerle! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The documentation of _.slice() does not mention that negative indexing is supported at all (but it is):
Is this not mentioned in the documentation intentionally, does it mean it's not reliable, or is it simply an omission (doc bug)?
The text was updated successfully, but these errors were encountered: