I really like the @blynk_app. But today I realised that it’s partly programmed improperly. In a header file you shall never instantiate variables. That’s not good programming style. It Makes it impossible to use a header file in several cpp code files. 👎🏻
3
4
In case you’ve been wondering why: we’ve been following the #Arduino programming style, as #Blynk library is in the same ecosystem and widely used by makers. This is a very common approach for Arduino sketch structure.
1
@strooom Also it’s common programming style for some Arduino library’s it doesn’t change it into a good programming style. That’s a bad architecture and having a bad software architecture causes the most problems in software. 😉
1
Replying to @geco_de @strooom
Surely. That's why it's made as open source and you can modify it to your preferences. Thanks for your feedback!

Feb 19, 2021 · 8:11 PM UTC