News for hackers. Stuff that matters.
Re:C++ Core Coroutines Proposal [pdf] by Waterluvian on Friday September 21, 2018 @10:35AM (#18039966)
That's pretty idiomatic in Python and often is fine. But surely can be abused. Pathlib let's you use / to append paths. You're not dividing anything but it's still quite intuitive.

And python sets let you subtract to get a difference, similar to your clever trick. I think it helps when these things are core to the language and broadly known. Otherwise you're scratching your head at what - will do.

There are no comments on this comment yet.