In my opinion call-by-reference can be very nice sometimes, mostly in cases where you need to return multiple values. I do of course know that you can return an array and all that, but it's really rather clunky, and quite fragile (return the wrong size array...).
/ David Hedbor
Previous text:
2003-04-16 03:07: Subject: Pointers/lvalues
What would you primarily use pointers for?
Multiple return values? Call-by-reference? Iteration? Something else?
I personally don't like laying down in the path of progress, (especially if it's moving very fast) but I think pointers would be a step backwards for Pike. However, I will reserve final judgement until I figure out what it's good for. God knows I've implemented a few dubious things in Pike. :)
/ Fredrik (Naranek) Hubinette (Real Build Master)