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
subdoc: push_front/push_back => push_first/push_last #28
Comments
Upon further consideration, we might use:
|
I really like |
ArrayAppend, ArrayPrepend were the winners, with PushFront, PushBack having similar support but falling in second. |
So: array_append Good?
|
Sounds good to me! |
+1 |
The former names C++ functions, and it's not immediately clear what the "front" and "back" actually mean (I'll tell you that these were confusing to me when I was first learning C++).
I believe first/last more intuitively reflects the location of where the items are added to. We can even do 'push_left' and 'push_right'...
The text was updated successfully, but these errors were encountered: