• 0 Posts
  • 36 Comments
Joined 1 year ago
cake
Cake day: June 27th, 2023

help-circle













  • DoomBot5@lemmy.worldtolinuxmemes@lemmy.worldNaming Torrents
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    8
    ·
    1 year ago

    It’s an unpopular opinion because you’re belittling programmers without proper considerations. You rather get features or you rather people spend their entire lives sanitizing the living hell out of their code to catch every scenario. That’s not to mention user input errors.

    The problem stems from the fact that spaces are what’s used to separate command lines arguments. That’s your separator character. Using the separator character inside of an argument causes headaches for everyone involved. By avoiding the separator character, you will have less issues, the developers will have less issues, and you can keep getting features you actually want.

    Keep in mind, this does not apply to anything beyond cli input. UIs have field input separation. URLs force a conversion of special characters using their own scheme as well. A different example would be the use of " inside a string wrapped by ". It’s doable, but you will have much less problems if you use a different string wrapper character assuming your language supports it.