Most languages I know use following syntax:
function name (var1,var2,var3) {
//do stuff with variables
}
Objective-C however makes somewhat more complicated structure
- (function type) functionName:(type)var1 var2:(type) var2 var3:(type) var3{
}
Why simply not
- (function type) functionName:(type) var1 (type) var2 (type) var3{
}
Is it possible to do following, and what sense it would make?
- (function type) functionName:(type)var1 randomName:(type) var2 anotherName:(type) var3{
}