On Wed, Jun 17, 2009 at 7:14 PM, Srijayanth Sridhar <srijaya...@gmail.com>wrote:

> On Wed, Jun 17, 2009 at 7:11 PM, Anand Chitipothu <anandol...@gmail.com>wrote:
>
>> >  If you don't like s[::-1], then the closest would be
>> > ''.join([item for item in reversed(s)]), but that ain't close enough :)
>>
>
> I don't hate it enough to not use it. I am just saying it from a
> perspective of readability I suppose. Coming from Ruby you get used to
> string methods(or for that matter Java)
>
> Jayanth
>
>
Well in Ruby:

1) Strings are mutable (Ruby has symbols which are essentially immutable
strings).
2) All built-in classes are open.

-- 
Harish Mallipeddi
http://blog.poundbang.in
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to