brennerm / PyTricks

Collection of less popular features and tricks for the Python programming language
MIT License
3.07k stars 503 forks source link

Add a reversestring.py file #74

Closed NDevox closed 8 years ago

NDevox commented 8 years ago

I've made a pull request - #73.

Thought it would be worth an issue to go along side in case it warranted a discussion.

As stated in the pull request:

I think we could justify having a separate file from reverselist for reversing strings and ints.

Some newbies don't have the conceptual leap from slicing lists to slicing strings.

Other possibility is to merge the two into a reverseiterable.py but I feel this is less explicit than two separate files.

brennerm commented 8 years ago

I agree with your point to split the examples into two different files.

NDevox commented 8 years ago

Closing this as all merged in and all in agreement.