News for hackers. Stuff that matters.
Re:Building a full-text search engine in 150 lines of Python... by evnp on Sunday January 26, 2025 @10:34AM (#42830709)
Thanks for the explanation. I take your point, but in the `filter` case `bool` seems just as easy as `None`, but with the added benefit that no awareness of a special case is needed -- any python programmer should understand how the `bool` builtin works. Curious if there's any downside.

There are no comments on this comment yet.