News for hackers. Stuff that matters.
Re:Edward C++Hands by zarify on Thursday September 19, 2013 @10:10PM (#6415596)
Well, there's always reversed(str) for Python (I realise this returns a reversed object and not a string object, which is something I dislike immensely).

I've always looked at [::-1] as being a bit of a hack, even though we use it all the time for both strings and lists.

There are no comments on this comment yet.