News for hackers. Stuff that matters.
Re:Learn Lua in 15 Minutes (2013) by bad-apple on Wednesday July 01, 2020 @04:50AM (#23699342)
I think Rust has another good alternative to this, although it might be cheating a little: you can just write (lo..hi).rev(). That way, the common case of going forwards is nice, and the case of going backward isn't much worse.

There are no comments on this comment yet.