View Single Post
BAILOPAN
Join Date: Jan 2004
Old 08-08-2012 , 15:04   Re: Dynamic Arrays in SourcePawn
Reply With Quote #35

Quote:
Originally Posted by rhelgeby View Post
Assuming this is for SourcePawn 2 or whatever it's going to be called, so existing SourceMod plugins will still keep its own language?

In that case I'd go for proposal 1 because it's simple and strict. Provide a helper function to get a copy of the array.

To me, the assignment operator only seems logical to use when you're assigning a single value (primitive or reference) to a variable. It doesn't seem right to assign a bunch of values at once, it's too magical.
There is only one language: SourcePawn. These proposals are changes to the existing language, to be implemented in a new runtime.

(re: too magical, I agree - there are severe performance faults lurking there if someone isn't careful...)
__________________
egg

Last edited by BAILOPAN; 08-08-2012 at 15:05.
BAILOPAN is offline