News for hackers. Stuff that matters.
Re:Better C – A subset of D Programming Language by aldacron on Tuesday April 28, 2020 @10:41PM (#23014697)
It's not "littered" in the documentation for anyone who understands the basics of D's ranges. auto is the correct choice here. Range functions are lazy, meaning they are almost always used in a chain of function calls that ends in something like `.array` to get a concrete type -- an array in this case. At no point in that process do you care about the actual return type of any of those functions.

There are no comments on this comment yet.