mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
![]() Rationale: the most common use for this function is to remove an element from an array. Therefore, the first example the user should see in the docs is how to achieve this. All the rest of the complications, like `remove` not changing the length of the array and what-not, should be discussed *afterwards*, not smack in the user's face. The current first example is a poor choice for a first example from a user's POV, because it throws a complicated case out there without first telling the reader (presumably someone new to the language, since seasoned D coders wouldn't be needing to read the docs for `remove`) how to accomplish the simplest, and most common, use case. |
||
---|---|---|
.. | ||
comparison.d | ||
internal.d | ||
iteration.d | ||
mutation.d | ||
package.d | ||
searching.d | ||
setops.d | ||
sorting.d |