What "call-by-value" means in different contexts

lkbaerenfaenger
Mausschubser
Mausschubser
Beiträge: 44
Registriert: 13. Mär 2012 12:44

What "call-by-value" means in different contexts

Beitrag von lkbaerenfaenger »

Hey all,

I think the title says it all. I asked this on StackOverflow and thought that maybe you guys cared... :D

https://stackoverflow.com/questions/322 ... ue-related

Best
Lucas

lkbaerenfaenger
Mausschubser
Mausschubser
Beiträge: 44
Registriert: 13. Mär 2012 12:44

Re: What "call-by-value" means in different contexts

Beitrag von lkbaerenfaenger »

Hey all,

so it seems that the internet doesn't know the answer to my question. Do you guys know? I mean, these concepts are relevant for the exam. I would really appreciate any help with this.

Best
Lucas

Talaron
Mausschubser
Mausschubser
Beiträge: 85
Registriert: 26. Apr 2012 11:34

Re: What "call-by-value" means in different contexts

Beitrag von Talaron »

Technically, the answer "Call by reference is call by value with the value being a reference." is already the correct one ...

Wikipedia gives a good overview over all the possible call-styles: Call by value/reference are both options when using eager evaluation, while call by name is the non-cached call type of lazy evaluation.

Antworten

Zurück zu „Archiv“