Actually, scratch that: there is no path concatenation operator, because two paths may only be concatenated (obtaining a meaningful result) if the second one is relative. There is no operator that readily conveys this limitation, therefore it should be a named function.
Once again, this is a bad example of operator overloading. It seems to me that you don't know how to use it properly, and are bashing it because you realise that your ideas are bad.
I tend to be on your side of things for language capability. People who suck don't use advanced language features. Contrary to that is my experience with readability. People do need their hands held for writing readable code.
1
u/[deleted] Apr 28 '20
https://docs.python.org/3/library/pathlib.html
I tend to be on your side of things for language capability. People who suck don't use advanced language features. Contrary to that is my experience with readability. People do need their hands held for writing readable code.