Passing by reference vs Passing by value
Passing by reference vs Passing by value
- Subject: Passing by reference vs Passing by value
- From: Arthur Clemens <email@hidden>
- Date: Mon, 30 Sep 2002 21:56:10 +0200
In the various Cocoa code I encounter I never see passing by reference
with values like ints or floats.
I learned that Java does not support passing by reference, but
Objective-C should. And technically it works, I found out, although the
code becomes somewhat less readable. Passing by reference should speed
things up a bit, I would think.
Is there an obivous reason not to pass by reference?
Arthur Clemens
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.