Quote:
Originally Posted by rhelgeby
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...)
__________________