Personally, I'd much prefer the first option. It's what's been used for decades and, although it's a bit ugly (especially if you use SMB shares that already involve double backslashes), I just think the R"(xxx)" notation is pretty awful. In Python it's r'string', no parentheses required, so this C++ version looks like an abomination that's hasn't been thought about properly to me.
Hi, I'm Swastik Baranwal, a software developer from New Delhi, India passionate about open-source contribution, Gopher, Pythoneer, Compiler Design and DevOps.
Personally, I'd much prefer the first option. It's what's been used for decades and, although it's a bit ugly (especially if you use SMB shares that already involve double backslashes), I just think the R"(xxx)" notation is pretty awful. In Python it's r'string', no parentheses required, so this C++ version looks like an abomination that's hasn't been thought about properly to me.
I just want people to know these things because it looks bad when seeing Traditional things but I also didn't like
()
too.So yeah you are right!