You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by Christofer Dutz <ch...@c-ware.de> on 2019/01/25 12:27:22 UTC
Summary of a private personal chat with Markus
Hi all,
I just had a peasant visit by Markus, who popped by the codecentric office on his way home from a customer.
I helped him finish his setting up as PPMC and committer and explained a lot of Apache Way stuff.
Besides that I also explained to him how the java part of the project is setup and why it is that way.
Technical things we discussed on C++ (Please feel free to comment if you have anything to say to this, this is just the opinion of two of the team …):
* Keep API natural to the language the API is implemented in (Don’t forcibly implement a C++ API as clone of Java API if this doesn’t feel natural for a C++ developer)
* Don’t feel condemned to follow the Java coding guidelines for a C++ project (If you prefix properties with an underscore, then do it the way a C++ would feel comfortable. if in C++ you usually prefix string variables with “str”, then do it)
* Use “Dynamic Loading” for loading driver implementations as primary focus (Dynamic linking as second priority)
* Implement the CompletableFuture functionality in C++ using Boost.Signal2 (We did some searches on options and it turns out this seems to be a good option)
* Markus is using VisualStudio 2017 for his development, it would be good if we could provide a maven profile to ease building plc4cpp in Visual Studio (or other IDEs)
Ok … so far the quick summary … and as mentioned before … please feel free to comment.
Chris
Re: Summary of a private personal chat with Markus
Posted by Julian Feinauer <j....@pragmaticminds.de>.
Hi,
thanks for your comments.
I'm not really good in C++ (or C) but if not yet done, I would welcome a file with some guidelines on the C++ coding style just to ensure equality. Also there are so many "flavors" of C++ nowadays with ARC, "plain" pointers and all that stuff that it would be good to write that done simply to allow others to do it the same way other stuff is done.
If you already considered that... just ignore my points : )
But one thing I loved the most with Java is that there's simply only "one" coding style which is consensus in the community and that feels good : )
Julian
Am 25.01.19, 13:27 schrieb "Christofer Dutz" <ch...@c-ware.de>:
Hi all,
I just had a peasant visit by Markus, who popped by the codecentric office on his way home from a customer.
I helped him finish his setting up as PPMC and committer and explained a lot of Apache Way stuff.
Besides that I also explained to him how the java part of the project is setup and why it is that way.
Technical things we discussed on C++ (Please feel free to comment if you have anything to say to this, this is just the opinion of two of the team …):
* Keep API natural to the language the API is implemented in (Don’t forcibly implement a C++ API as clone of Java API if this doesn’t feel natural for a C++ developer)
* Don’t feel condemned to follow the Java coding guidelines for a C++ project (If you prefix properties with an underscore, then do it the way a C++ would feel comfortable. if in C++ you usually prefix string variables with “str”, then do it)
* Use “Dynamic Loading” for loading driver implementations as primary focus (Dynamic linking as second priority)
* Implement the CompletableFuture functionality in C++ using Boost.Signal2 (We did some searches on options and it turns out this seems to be a good option)
* Markus is using VisualStudio 2017 for his development, it would be good if we could provide a maven profile to ease building plc4cpp in Visual Studio (or other IDEs)
Ok … so far the quick summary … and as mentioned before … please feel free to comment.
Chris