Re: Pass by Reference

new topic     » goto parent     » topic index » view thread      » older message » newer message
Shian_Lee said...

I think that global/local variable is much more safe attitude then 'Pass by Reference'.

'Pass by Reference' quickly gets out of control. while global/local variable is much more clear and easy to be documented.

My point is that they're functionally identical, so if PBR gets out of control, PBR emulation by global variables will get out of control in precisely the same way.

But I don't think that PBR (true or by emulation with global variables) would get out of control anyways. As I said originally, it's all in the moderation:

jimcbrown said...

Yep. I feel that simple is good, but too simple is bad. In other words, you can have too much of a good thing. All things in moderation, etc.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu