• wewbull@feddit.uk
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    2
    ·
    4 months ago

    Furthermore there are many changes to NumPy internals, including continuing to migrate code from C to C++, that will make it easier to improve and maintain NumPy in the future.

    I realise that C can be rather low level a lot of the time, but I’m not sure I’d pick C++ to help keep things easy to maintain. It opens up a Pandora’s box of possibilities.

    • cbarrick@lemmy.world
      link
      fedilink
      English
      arrow-up
      17
      arrow-down
      2
      ·
      4 months ago

      With a good style/best-practice guide, C++ can be quite productive of a language to work with.

      Those kinds of guides typically define which standard/convention to use and which features not to use (cough exceptions cough).

        • cbarrick@lemmy.world
          link
          fedilink
          English
          arrow-up
          17
          arrow-down
          1
          ·
          4 months ago

          I intentionally added a period because it was the end of a sentence.

          If your Lemmy app messed it up, then that’s a bug in its markdown parser.

      • wewbull@feddit.uk
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        4 months ago

        Do you think a style guide is enough for an open source code base? Contributions could be coming from lots of directions, and the code review process to enforce a style guide is going to be a lot of work. Even rejecting something takes time.