programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Albin Jose@suppo.fi to Programmer Humor@lemmy.ml · 2 years ago

Depression Is No More

suppo.fi

message-square
98
link
fedilink
1.76K

Depression Is No More

suppo.fi

Albin Jose@suppo.fi to Programmer Humor@lemmy.ml · 2 years ago
message-square
98
link
fedilink
  • CanadaPlus@lemmy.sdf.org
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    So would there be a happy medium between C and C++? A C+, if you will.

    • dylanTheDeveloper@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      C-+

      • eerongal@ttrpg.network
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        -0.5 + (float) C++

    • PutangInaMo@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      Rust

      • CanadaPlus@lemmy.sdf.org
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        I’m going to go ahead and say that’s not really a superset of C. But, yes, that’s the way everything is going in practice.

        • PutangInaMo@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          No not literally but you got it lol

    • sirdorius
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      There is actually a C+, also called “orthodox” C++ https://gist.github.com/bkaradzic/2e39896bc7d8c34e042b

      • CanadaPlus@lemmy.sdf.org
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Thanks! I figured someone must have tried it.

    • zaphod@feddit.de
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Yes, use C++, but with extern "C" for everything so you can easily interface with other software. That limits you to no classes or namespaces, but internally you can use smart pointers, vectors, maps and actual strings.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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]

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 341 users / day
  • 1.9K users / week
  • 3.16K users / month
  • 9.69K users / 6 months
  • 735 local subscribers
  • 35.9K subscribers
  • 1.77K Posts
  • 38.8K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org