[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] Point.big?
The whole file seems a little, well, pointless
It seems to be there to demonstrate extensions (but we have more than enough of them)
Point.big is almost silly, well.
I'd suggest move the methods to their respective classes and leave out Point.big. "swap" is also strange, but well. I hope it'll break nobody's code!
best,
Julian
On 15.10.2013, at 11:31, Marije Baalman <nescivi@xxxxxxxxx> wrote:
> Hiho,
>
> what is the point of the *big creation method of Point? This is a
> class extension in the default library. It seems kind of arbitrary to
> me.
>
> sincerely,
> Marije
>
>
> + Point {
> *big { arg x, y;
> ^this.new(2*x, 10*y)
> }
> }
>
> _______________________________________________
> sc-dev mailing list
>
> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
> search: https://listarc.bham.ac.uk/lists/sc-dev/search/
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/