In my principles of programming class we are talking about different calling methods. Some we discussed were:
- call by value
- call by reference
- call by value/result
- and call by name
I can't find an example of how call by name works. Anyone care to give me an example? I think that when you take an xml file as input this is similar to call by name. Could someone give me a more traditional example?