1. Re: '+= 'shorthand

-------Phoenix-Boundary-07081998-

>
>> 6-- slicing shorthands:
>> 	...
>>	seq +=3D "a"   =3D>  seq =3D append (seq, "a")

>What would you do in the case:
>
>  seq +=3D 'a'
>seq +=3D "a"   =3D>  seq =3D append (seq, "a")

Oops!  The general theme behind these shorthands is to eliminate
redundancy.  A line like: "method_signature_dictionary =3D 
method_signature_dictionary[2..length(method_signature_dictionary)]"
is error-prone and messes up my nice code.  However, breaking existing
code is a no-no, so I'll have to live without this one.

Thanx
Karl Bochert

-------Phoenix-Boundary-07081998---

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu