invert or reverse a string... warning this is a rant

Demel, Jeff Jeff.Demel at
Thu Oct 19 19:54:14 CEST 2006

wlfraed at wrote:
>ONE usage... The old intro-to-programming Palindrome detector 
>becomes a very simple assignment given an easy means of 
>reversing a string (vs the "expected" loop comparing from 
>the ends in to the center)

Ok, let me re-phrase:

I've been programming professionally for over 10 years, and have never
once needed to reverse a string *or detect a palindrome*.  Maybe it's a
lack of imagination on my part, but I can't think of a single instance
this might be necessary.


Those damn "intro-to-programming" classes nail me again!  Is this why
the applicants I see that are fresh out of college with their shiny new
computer science degrees can't seem to code their way out of a wet paper

This email is intended only for the individual or entity to which it is addressed.  This email may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this e-mail or any attachments by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you are not the intended recipient of this message or the employee or agent responsible for delivery of this email to the intended recipient, please notify the sender by replying to this message and then delete it from your system.  Any use, dissemination, distribution, or reproduction of this message by unintended recipients is strictly prohibited and may be unlawful.

More information about the Python-list mailing list