[Issue 10491] Type inference for function arguments with default value

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 2 13:04:51 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10491



--- Comment #6 from Henning Pohl <henning at still-hidden.de> 2013-07-02 13:04:46 PDT ---
(In reply to comment #4)
> (In reply to comment #1)
> > https://github.com/D-Programming-Language/dmd/pull/2270
> 
> I think a decision should be taken. What do you think about this issue Henning
> Pohl?

Can only three people actually take decisions like that?

Let me comment on Kenji's four points:

1. True, but these little syntactic improvements make writing D more fun as a
whole.

2. This is what D should do more often.

3. The cost of inferring things. If the quality of the error messages are
appropriate, it is totally worth it.

4. In which way do "in ref" and "auto ref" conflict with this?

Walter has underlined multiple times the importance of beautiful code. And that
is the goal of this enhancement.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list