Y
Hacker News
new
|
ask
|
show
|
jobs
by
elcomet
2107 days ago
what if you have to deal with two persons?
1 comments
singularity2001
2107 days ago
In that case you could have the signature
func call(person#1 person#2){}
link
ajuc
2107 days ago
Wouldn't it be better if we could give meaningful names instead of 1 and 2?
function call(person#sender person#receiver)
And at that point we're back to the square one, just remove the # :)
link
func call(person#1 person#2){}