Jacob Carlborg:

"reverse" is implemented with the stupid name "retro".

Nope. "retro" is a lazy range that yields in reverse direction. The Phobos in-place reverse for arrays is named "reverse". But unlike the built-in reverse returns void.


Perhaps start with modifying the compiler to indicate the "sort" and "reverse" functions are deprecated.

The first step for Issue 10318 is indeed a warning for usage of the built-in sort.

Bye,
bearophile

Reply via email to