DIP 1018--The Copy Constructor--Formal Review

Walter Bright newshound2 at digitalmars.com
Tue Feb 26 03:56:27 UTC 2019


On 2/25/2019 7:45 AM, Atila Neves wrote:
> I have no idea what people are talking about when they mention on this forum 
> that D's const is useless. Nearly every function parameter in my code is `in`. 
> Nearly every variable declaration uses `const` instead of `auto`, the main 
> exception being when a function is constructing a value to return. Most member 
> functions I write are const or inout. I use const in D as I do in C++: pretty 
> much everywhere. Nearly every single time a function parameter in my code isn't 
> const is when it's an input range.

I'm going to make an educated guess that you're experienced at FP programming!


More information about the Digitalmars-d-announce mailing list