2 ms·
> But these kinds of file names are landmine for all programming languages. That's simply not true. Some languages/platforms do not emphasize, or actively stan
by groestl 8y ago
> But these kinds of file names are landmine for all programming languages.
That's simply not true. Some languages/platforms do not emphasize, or actively stand in the way of correctly describing layers of input, often in the name of convenience. Those are the worst offenders. The shell, for example. Or PHP, or ansible, which both retroactively corrected bad decisions made in the past, when their quoting was designed.
Some languages have bulky ways of interacting with the filesystem. They are not convenient to use (because their layers of input are explicit) but they don't have problems with funny characters. And this is not limited to filesystems, just look at SQL and prepared statements.