Comment by card_zero
15 days ago
Yes, I really like it, it's like a neat little pump that moves the string from the right side to the left. But I keep seeing people saying it's needlessly hard to read and should be split over several lines and use += 1 so everyone can understand it. (And they take issue with the assignment's value being used as the value in the while loop and treated as true or false. Though apparently this sort of thing is fine when Python does it with its walrus operator.)
No comments yet
Contribute on Hacker News ↗