Giter Site home page Giter Site logo

Comments (2)

phillipjohnston avatar phillipjohnston commented on May 31, 2024

Thoughts from Kelley:

I share the question and concern. A couple of thoughts. Newer loggers would probably use the std library, streams, etc Guessing there is a big body of C/C++ projects now using new features yet, but wanting logging. Rather than trying to make one logging library satisfy every one, it might make more sense to divide the audience. No streams. vs streams. etc. Then add a stream version later for other systems. You'll get a lot of useful feedback along the way.

from arduino-logger.

phillipjohnston avatar phillipjohnston commented on May 31, 2024

From Kelley:

Consider generalizing the project name for broader C++ use. The library is generic but just happens to support Arduino. (and doesn't use streams)

I think that generalizing the project is another worthwhile approach.

The only downsides with sticking to Arduino-support in the base class are:

  1. I would pick a different organization scheme than the Arduino environment requires
  2. I would use policy-based design in a general C++/embedded version
  3. I'd use C++17 features

Maybe we have both, too. Maybe this is rebranded into a general library, and it's our C++11-only version that just so happens to support Arduino. Our full-octane version could be C++14/17 and up.

from arduino-logger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.