• Affine Connection
        link
        fedilink
        English
        31 year ago

        Also, I constantly name files in the same directory the same thing except for case. In my ~/tmp directory I have unrelated foo.c (C source) and foo.C (C++ source).

        • Zagorath
          link
          fedilink
          English
          21 year ago

          Why not .cpp for C++? I don’t use C++, but I thought that was the standard.

          • Affine Connection
            link
            fedilink
            English
            8
            edit-2
            1 year ago

            .C came first. I don’t usually use it though; I usually use .cc or .cxx, but if I’m making some tiny test source, I often use .C. I’m strongly opposed to the .cpp extension because calling C++ “CPP” leads to confusion with the preexisting (before C++) use of the initialism to refer to the C preprocessor. There’s a reason why CPPFLAGS refers to preprocessor flags and CXXFLAGS refers to C++ flags.

      • @[email protected]
        link
        fedilink
        61 year ago

        Why did Linux systems go for capitals in the home folder? It’s actually kind of annoying and takes extra key presses.

        …A while later “XDG Base Directory Specification”

        • @[email protected]
          link
          fedilink
          21 year ago

          XDG specifies the capital names, but to be nitpickingly technically precise, linux systems don’t do this. It mostly is done by the distribution maintainers, and the XDG specs. A base system does not usually have a notion of anything beyond your $HOME.

          Try adding a user: sudo adduser basicuser. If you ls -al ~basicuser you will see it’s almost empty, just the .bashrc (or in my fedora, there’s some .mozilla crap in /etc/skel that also gets bootstrapped).