Earlier I was trying to have a script obtain the path of the entry script so that I could publish a file in /extensions with the asset manager. I had to resort to
Yeah, we know DS is used fairly often. The reason we don't use it is because other libraries might already define it (as you said). So we leave this to be defined by users. In the core, we stick to DIRECTORY_SEPARATOR.