in reply to calling f(arg1,arg2,arg3) better than &f
Your coworker's reference or 'argument checking' is probably referring to the fact that when you call a function as &f then any prototype it has is ignored. This isn't relevant if you have not established a prototype for the function in question, so your coworkers criticism does not apply. It is probably a bad idea to call a prototyped functions as &f as confusion is indeed likely to occur.
--DrWhy
"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: calling f(arg1,arg2,arg3) better than &f
by edwardt_tril (Sexton) on Feb 08, 2006 at 22:27 UTC |