pass by reference or pass by value?

Posted by Sven on Stack Overflow See other posts from Stack Overflow or by Sven
Published on 2008-08-05T08:56:01Z Indexed on 2011/01/13 20:53 UTC
Read the original article Hit count: 588

When learning a new programming language, one of the possible roadblocks you might encounter is the question whether the language is, by default, pass-by-value or pass-by-reference

So here is my question to all of you, in your favorite language, how is it actually done? and what are the possible pitfalls?

your favorite language can, of course, be anything you have ever played with: popular, obscure, esoteric, new, old ...

© Stack Overflow or respective owner

Related posts about language-agnostic

Related posts about oop