https://issues.dlang.org/show_bug.cgi?id=19097

Steven Schveighoffer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #8 from Steven Schveighoffer <[email protected]> ---
Just throwing this out there, why do we need it to be the first parameter? Why
not ALL ref parameters?

It makes sense for a constructor, for which there is an obvious return
expectation of the `this` parameter, but anyone can devise some calling scheme
by which any arguments are transferred to any other ref arguments.

Just because Phobos follows the convention of putting the "return" parameter as
the first parameter, does that mean the language should require it?

--

Reply via email to