Re: pbr vs multiple returns
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Jan 11, 2007
- 560 views
Chris Bensler wrote: > > > I agree with Tommy's suggestions 100% > A keyword is better than a symbol. Either 'ref' or 'pbr'. 'pbr' might be less > likely to be confused with an actual parameter name. I think you guys are probably right. I went with the asterisk because it absolutely wouldn't break any code, and because it's fairly well known from C. It should be fairly trivial to switch to 'ref' or 'pbr' in the code. The significant coding will be in making the caller specify pbr. Matt