← Back to team overview

ooc-dev team mailing list archive

Re: New ORC draft - Properties


Looks pretty good.

I noticed that in all of your examples you use set(value)

would it be make any sense to allow setters to take multiple arguments?

for instance

    set(value1, value2) { this number = value1 ^ value2 }
    someclass number = 1, 2

Please note the above example is poor at best. And I can't think of
any cases where this would happen. I'm just trying to generate
discussion =)

On Tue, Mar 30, 2010 at 9:50 PM, Scott Olson <scott@xxxxxxxxxxxxxxx> wrote:
> I have created a draft ORC for the new Property syntax that was much
> discussed in the IRC channel. I hope it is informative and exlempatory of
> what an ORC should look like. ^.^
> Link: http://github.com/tsion/middleearth/blob/master/drafts/Properties.md
> - Scott Olson
> _______________________________________________
> Mailing list: https://launchpad.net/~ooc-dev
> Post to     : ooc-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ooc-dev
> More help   : https://help.launchpad.net/ListHelp

Follow ups