Pure functions in D

Walter Bright newshound1 at digitalmars.com
Fri Sep 26 23:04:53 PDT 2008


Ary Borenszweig wrote:
> True. They won't boost your productivity. They won't free you from bugs. 

I disagree. Pure functions increase productivity and reduce the scope of 
bugs by providing statically enforcible constraints on what a function 
can do. This reduces the cognitive load on the programmer.



More information about the Digitalmars-d mailing list