[Swift-devel] New syntax for appending to arrays

Mihael Hategan hategan at mcs.anl.gov
Tue Jun 28 12:21:21 CDT 2011


On Tue, 2011-06-28 at 20:01 +0530, Yadu Nand wrote:
> > my opinion on the matter is that: the meaning of the operator has no direct analogue in C, Java or Haskell which I think are the three main influences. So whatever is chosen is going to look weird. So pick one, any one, perhaps using a pseudorandom number generator, or a single round election, and move on ;)
> 
> I'm still working on doing the other proposed syntax which is
> append ( array, <value> ).

There have been some schools of thought in language design that said
that there should be one and only one way to do a certain thing.





More information about the Swift-devel mailing list