Use class without instance (like e.g. String)

Putting functions in a class could help to keep things together and help to prevent name collision. It may also improve the ease of reuse.

I agree that on AVR the extra (memory/processing) cost of a class may be a drawback. But on ESP32 it is not that easy to fill all memory... and the extra memory for the class will be negligible...

1 Like