http://d.puremagic.com/issues/show_bug.cgi?id=3960
Marco Leise <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #17 from Marco Leise <[email protected]> 2012-02-02 06:56:03 PST --- (In reply to comment #9) > I would point out that if it is made an error to have unused local variables, > function parameters must _not_ be included in it. That would be a major > problem > in cases where overridden functions don't use all of their parameters, but > they > have to have them because the base class' function does. In languages where you cannot omit the name of the parameter it is a problem. In D you just leave the parameter name away and this problem is solved + it becomes evident from looking at the method, that it doesn't use a certain parameter. That would make a nice coding standard as well. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
