Tom Ritchford
Feb 15, 2021

--

I just searched my active Python repos, and I use it quite frequently in production programs.

In the first usage, I get a list of commits from git, but git presents them in reverse chronological order, the reverse of what I need.

In another case, I have a list of error correction strategies ordered from "least correcting" up. In one spot, I want to find the most powerful correction strategy that works, so I reverse the list and start with the most powerful, and keep trying till one doesn't fail.

--

--

No responses yet