If there's a willingness to rename shift/unshift, why not consider
going a bit further (and offend shell heritage) to note that pull/put
aren't really linguistically opposed either (unlike push/pull). Why not
rename pop to pull, and use something like put/take for shift/unshift?

That goes way beyond offending "shell heritage". That actively opposes sixty years of computer science terminology setting "push" and "pop" in opposition.

I'm not objecting to pop, but pull in opposition to push, on the other side of the array.




Reply via email to