On 3/28/2015 2:01 PM, Peter Alexander wrote:
On Saturday, 28 March 2015 at 20:35:07 UTC, Walter Bright wrote:
On 3/27/2015 12:34 PM, w0rp wrote:
Sean Parent's advice for "no raw loops" comes to mind.
https://channel9.msdn.com/Events/GoingNative/2013/Cpp-Seasoning With that rule,
basically a one-line body for foreach becomes acceptable.
This really is a great video. Which leads me to wonder why std.algorithm
doesn't have a 'rotate'.
Three iterator algorithms don't really work well with ranges. We have
bringToFront instead, which is more general.
Thank you. I need to learn std.algorithm better.