not digg
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Gollum@feddit.org to Programmer Humor@programming.dev · 3 个月前

Lucky enough, I am C++ Developer

feddit.org

message-square
114
fedilink
405

Lucky enough, I am C++ Developer

feddit.org

Gollum@feddit.org to Programmer Humor@programming.dev · 3 个月前
message-square
114
fedilink
  • Jankatarch@lemmy.world
    link
    fedilink
    arrow-up
    42
    ·
    edit-2
    3 个月前

    C++ lets you assign variables with <%%> in case your parents were killed by an equals sign.

    • entwine@programming.dev
      link
      fedilink
      arrow-up
      11
      ·
      3 个月前

      TIL about bat! Looks awesome!

      • dwraf_of_ignorance@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        3 个月前

        Look into batman too. Its like bat but for man pages

      • djmikeale@feddit.dk
        link
        fedilink
        arrow-up
        3
        ·
        3 个月前

        Bat is really cool - I share your enthusiasm! As far as I remember, the repo for bat has a bunch of example use cases that I hadn’t thought of, fyi!

    • SleeplessCityLights@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      3 个月前

      I have the perfect module to use this once. Most people will see it and will figure out that it is doing what it should, but no one can change it because the file will be LFS locked like 99% of the time.

    • blobchoice@feddit.uk
      link
      fedilink
      arrow-up
      6
      ·
      3 个月前

      Finally, someone gets it

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      3 个月前

      What is happening there?

      Is it about templates? I can’t find any reference for that syntax.

      • Jankatarch@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        edit-2
        3 个月前

        I mixed digraphs and initilization together.

        • marcos@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          edit-2
          3 个月前

          Oh, I didn’t know about digraphs at all. C++ is a really big language.

          And wow, that’s a well hidden footgun.

          • ulterno@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 个月前

            Feels like this thing should require an extra flag in case of gcc in this day and age, or a separate compile-time defined variable, specifically for cases where you don’t want to require the flag.

            • marcos@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              3 个月前

              To be fair, the biggest footguns are the trigraphs, and now that I tested those do require a flag in gcc.

              The digraphs are just hard to search, never used operator symbols.

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: !programmer_humor@programming.dev

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.

  • 1.29K users / day
  • 3.38K users / week
  • 4.07K users / month
  • 14.9K users / 6 months
  • 1 local subscriber
  • 29.6K subscribers
  • 2.05K Posts
  • 31.3K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org