[MacRuby-devel] [MacRuby] #508: Method Syntax

MacRuby ruby-noreply at macosforge.org
Wed Feb 10 22:08:37 PST 2010


#508: Method Syntax
----------------------------------+-----------------------------------------
 Reporter:  cjenkins@…            |        Owner:  lsansonetti@…        
     Type:  enhancement           |       Status:  closed               
 Priority:  minor                 |    Milestone:                       
Component:  MacRuby               |   Resolution:  wontfix              
 Keywords:                        |  
----------------------------------+-----------------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 How would you decide which part is the left side of the method and which
 part becomes the name of the first argument? For setters it's obvious, but
 Cocoa has lots of APIs.

 Your proposal sounds also too magical in my taste. It can be confusing for
 the new learner specifically (when he browses API reference). Finally,
 there is the problem of creating such selectors (not calling them).

 We do not intend to change the syntax any time soon, sorry.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/508#comment:1>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list