Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Albin Jose to Programmer [email protected] • 2 years ago

Depression Is No More

suppo.fi

message-square
103
fedilink
1.76K

Depression Is No More

suppo.fi

Albin Jose to Programmer [email protected] • 2 years ago
message-square
103
fedilink
  • @[email protected]
    link
    fedilink
    2•2 years ago

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

    • @[email protected]
      link
      fedilink
      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.

    • @[email protected]
      link
      fedilink
      4•2 years ago

      C-+

      • @[email protected]
        link
        fedilink
        3•2 years ago

        -0.5 + (float) C++

    • @[email protected]
      link
      fedilink
      4•2 years ago

      Rust

      • @[email protected]
        link
        fedilink
        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.

        • @[email protected]
          link
          fedilink
          1•2 years ago

          No not literally but you got it lol

    • @[email protected]
      link
      fedilink
      3•2 years ago

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

      • @[email protected]
        link
        fedilink
        1•2 years ago

        Thanks! I figured someone must have tried it.

Programmer [email protected]

[email protected]
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.
  • 16 users / day
  • 85 users / week
  • 465 users / month
  • 1.54K users / 6 months
  • 4 subscribers
  • 1.82K Posts
  • 38.6K Comments
  • Modlog
  • mods:
  • @[email protected]
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org