eviltoast
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
lysdexic@programming.devM to C++@programming.devEnglish · 2 years ago

You’ve just inherited a legacy C++ codebase, now what?

gaultier.github.io

external-link
message-square
7
link
fedilink
  • cross-posted to:
  • hackernews@lemmy.smeargle.fans
24
external-link

You’ve just inherited a legacy C++ codebase, now what?

gaultier.github.io

lysdexic@programming.devM to C++@programming.devEnglish · 2 years ago
message-square
7
link
fedilink
  • cross-posted to:
  • hackernews@lemmy.smeargle.fans
alert-triangle
You must log in or # to comment.
  • Andreas Freund@mastodon.social
    link
    fedilink
    arrow-up
    9
    ·
    2 years ago

    @lysdexic “Get the tests passing on your machine”. Which tests?

    • eveninghere@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      “I was trying to be polite. YOURS!”

  • steventrouble@programming.dev
    link
    fedilink
    arrow-up
    7
    ·
    2 years ago

    deleted by creator

  • BaardFigur@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    deleted by creator

  • NegativeLookBehind@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    1 year ago

    deleted by creator

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

      But wouldn’t that leave a shit ton of dangling pointers?

      • NegativeLookBehind@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        1 year ago

        deleted by creator

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

          I can get behind this

    • andnekon@programming.dev
      link
      fedilink
      arrow-up
      3
      arrow-down
      2
      ·
      2 years ago

      you mean rewrite it in rust?

      • SatouKazuma@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Hear, hear!

  • porgamrer@programming.dev
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 years ago

    This kind of work is oddly therapeutic to me. As long as I’m actually able to change things significantly and I’m not under too much time pressure.

    What really sucks is when I get a task like this and someone wants more crazy complexity added. e.g. I’m just trying to fix the code up and make the existing API fast & safe, but management wants us to also emulate the entire API of a competing product, including all its awful legacy.

C++@programming.dev

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

The center for all discussion and news regarding C++.

Rules

  • Respect instance rules.
  • Don’t be a jerk.
  • Please keep all posts related to C++.
Visibility: Public
globe

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

  • 4 users / day
  • 103 users / week
  • 113 users / month
  • 349 users / 6 months
  • 2 local subscribers
  • 2.24K subscribers
  • 335 Posts
  • 426 Comments
  • Modlog
  • mods:
  • lysdexic@programming.dev
  • Nihili0@programming.dev
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org