29 May
2016
29 May
'16
6 p.m.
Franklin? Lee wrote:
On May 28, 2016 4:48 AM, "Greg Ewing" <greg.ewing@canterbury.ac.nz <mailto:greg.ewing@canterbury.ac.nz>> wrote:
No, keyword pattern args should probably match either keyword constructor args or attributes.
That would make things ambiguous and tricky, wouldn't it?
My feeling is that for any well-designed object they should be compatible. If an object has a constructor keyword arg and an attribute with the same name but they mean different things, that object is confusing to begin with. -- Greg