Gary Willoughby: "Why Go's design is a disservice to intelligent programmers"
Peter Alexander via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Sat Mar 28 14:01:17 PDT 2015
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.
http://dlang.org/phobos/std_algorithm_mutation.html#.bringToFront
More information about the Digitalmars-d-announce
mailing list