happysl.app
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Gollum@feddit.de to Programmer Humor@programming.dev · 2 years ago

D or d come on

i.imgur.com

message-square
223
fedilink
  • cross-posted to:
  • [email protected]
1.41K

D or d come on

i.imgur.com

Gollum@feddit.de to Programmer Humor@programming.dev · 2 years ago
message-square
223
fedilink
  • cross-posted to:
  • [email protected]
  • Potatos_are_not_friends@lemmy.world
    link
    fedilink
    arrow-up
    31
    ·
    2 years ago

    Right? I rather not have a computer automatically autocorrect.

    • shotgun_crab@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 years ago

      Yeah, and I think most shells will correct this case by pressing tab

    • Affine Connection@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      2 years 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).

      • winky88@startrek.website
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 years ago

        Chaotic evil

      • Zagorath@aussie.zone
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        2 years ago

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

        • Affine Connection@lemmy.world
          link
          fedilink
          English
          arrow-up
          8
          ·
          edit-2
          2 years 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.

          • ThatHermanoGuy@midwest.social
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            Just use .C++

            • Affine Connection@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 years ago

              But then the filename wouldn’t be /^[[:alnum:]._-]*~*$/.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 375 users / day
  • 63 users / week
  • 115 users / month
  • 13.2K users / 6 months
  • 0 local subscribers
  • 21.4K subscribers
  • 1.24K Posts
  • 44.6K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org