• cbarrick@lemmy.world
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    2
    ·
    edit-2
    6 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).

    I highly recommend Google’s C++ style guide: https://google.github.io/styleguide/cppguide.html.

    • wewbull@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      6 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.