[SR-Dev] operators and variables

Juha Heinanen jh at tutpro.com
Fri Dec 12 07:44:34 CET 2008

Andrei Pelinescu-Onciul writes:

 > I think having perl like operators would help a lot:
 > - '.' for string concatenation (instead of reusing '+'), e.g.: 
 >  $v= "foo" .  "bar"

this is ok.

 > - 'eq' instead of == for strings, e.g.: $v eq "bar" 
 > - 'ne' instead of != for strings, e.g.: $v ne "bar"

i'm not sure about these, because == and != are in very common use (c,
php, etc.).

typing of $var and $avp would be ok with me.

-- juha

More information about the sr-dev mailing list