- About Scala
- In the Enterprise
- Scala Community
- Language Research
- In the Press
- The Scala Team
- Scala's Prehistory
- Contact Us
- Learning Scala
- Tour of Scala
- Scala API
- Setup & Getting Started
- Programming Guides
- Other Guides
- Code Examples
- Scala Developers
Re: the shadow knows
On Wed, Dec 7, 2011 at 2:40 PM, Paul Phillips <paulp [at] improving [dot] org> wrote:
On Wed, Dec 7, 2011 at 11:32 AM, Rex Kerr <ichoran [at] gmail [dot] com> wrote:
> I don't know why I should have to bother repeating the type information if
> all I want to do is forward parameters to A's constructor.
Because A could have more than one one-argument constructor.
That is a problem because...?
class B(_,_,_) extends A(_,_,_,"Is this not perfectly clear?")
class B(_,_) extends A("You get",_)("the idea, yes?",_)
Auxiliaries are second-class enough without syntactically excluding
them from consideration. Still, something in the spirit of this idea
would sure be nice. I hate having to mkae up names for batons I'm
passing between relay racers. They're batons! They're all just
batons! Stop trying to humanize them!