Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
vtbassmatt
· 4mo ago · 0 comments
I would have agreed with this, and then they did the `pathlib.Path` bit of cuteness with the `/` operator:
https://github.com/python/cpython/blob/5afbb60e0283caaf34990...
And despite my misgivings, it’s really ergonomic.
Comments
[–]
pbalau
4mo ago
If you divide a Path by another Path, you get a Path. If you compare two Paths, you get a Boolean. It is not really the same.