GithubHelp home page GithubHelp logo

Comments (10)

NyaMisty avatar NyaMisty commented on May 2, 2024

Hi Markus,

In fact, that identifier does not has any special meaning, and is autogenerated by the IDE or other tools. It is only used to prevent that header from being processed for more than once, and it won't be in the final executables. So we needn't change it at all.

from openpose.

elfring avatar elfring commented on May 2, 2024

How do you think about to avoid that this software depends on undefined behaviour?

from openpose.

gineshidalgo99 avatar gineshidalgo99 commented on May 2, 2024

Hi @elfring, I am interested in following the naming convention of the C++ language standard. But I have a question after reading your links. How is OPENPOSE__CORE__RENDERER_HPP not fitting the naming convention? In the link you sent me I just found not to use underscores at the beginning/end and not to repeat names used in the std library. Thanks!

from openpose.

elfring avatar elfring commented on May 2, 2024

I recommend to reconsider the use of double underscores here according to the rules of the C++ programming language.

from openpose.

gineshidalgo99 avatar gineshidalgo99 commented on May 2, 2024

@elfring OK! I will remove it within this week. Thanks! Given your better experience, may I also ask you how would you distinguish between separating folders (I was using double underscores) and separating Upper case letters (I was using single underscore)? I did not find a standard way to do it so far. Thanks!

from openpose.

elfring avatar elfring commented on May 2, 2024

I was not concerned about a name selection for folders in this use case. I am curious if some C++ identifiers (like affected include guards) will be adjusted.

from openpose.

gineshidalgo99 avatar gineshidalgo99 commented on May 2, 2024

The include guards have been changed for the next release (1.0.0rc3) by changing __ by _. I am still finishing some other small issues, and then I will commit and push everything at the same time. But it should be done by this week.

from openpose.

gineshidalgo99 avatar gineshidalgo99 commented on May 2, 2024

@elfring Thank you again for your demanding feed-back and recommendations. __ were removed in our last commit (BTW we also added face).

Please, feel free to post any other naming rule not followed or recommendations you might have.

from openpose.

elfring avatar elfring commented on May 2, 2024

Did you publish corresponding changes in a separate commit?

from openpose.

gineshidalgo99 avatar gineshidalgo99 commented on May 2, 2024

No, it was a common commit with other changes. We were quite in a hurry at that moment and did it this way, but you are completely right and we should avoid doing that. Thanks

from openpose.

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.