What happens, when you join two paths in a #programming language when the second one is an absolute one?
join("foo", "/bar")
returns "foo/bar" or "/bar"?
The wonderful @meisterluk wrote a great article about that you might want to read: https://lukas-prokop.at/articles/2024-05-03-filepath-join-behavior
I can not tell what version I'd actually prefer. There are situations where both versions would be "proper".
#Python #Golang #UNIX #POSIX #rust #C++ #CPP #Java #dotNet #Dart #Flutter #Dlang #TCL #Nim #FreePascal #PowerShell #zig