Re: pbr vs multiple returns

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu