4 ms·
How would you design it?
by yan 16y ago
How would you design it?
- iron_ball 16y agoMaybe I'm missing something obvious, but why not nameOfMethod: firstArgName(Type '')arg1 secondArgName(Type )arg2? So you'd get invocations like this: point = createPoint: x:10 y:15; Instead of this: point = createPointWithX:10 y:15; edit: no idea how to get asterisks to appear, so pretend I have pointer symbols where appropriate.