Tuesday, October 7, 2008

Objective-C . WTF? (Part I)

Who decided that this...

[myRectangle setOriginX: 30.0 y: 50.0];

...was better than this?

[myRectangle setOrigin: x:30.0, y:50.0]

... or this?

[myRectangle setOrigin(30.0, 50.0) ]

No comments: