Giter Club home page Giter Club logo

Comments (6)

afritz1 avatar afritz1 commented on July 17, 2024

I've seen Doxygen used by a big project before; namely, the physically-based renderer pbrt. I haven't used it myself yet, but standardizing comments in this project sounds like a great idea. I'll see about starting to add conforming comments to the code soon.

from opentesarena.

Thunderforge avatar Thunderforge commented on July 17, 2024

Which document style do we want to use in this app? It looks like several are supported in Doxygen.

from opentesarena.

afritz1 avatar afritz1 commented on July 17, 2024

I think using //! for single-line comments is the most intuitive for me. I haven't gotten around to this issue because I've just been solving other problems in the meantime.

from opentesarena.

Thunderforge avatar Thunderforge commented on July 17, 2024

I assume that means that multi-line comments look like this then:

/*! 
 * A longer block
 */

I asked because I was interested in adding some documentation to a few classes and was unsure about the preferred style.

from opentesarena.

afritz1 avatar afritz1 commented on July 17, 2024

Hmm, maybe use

//! Description for a class method
//! that needs to be multi-line.

I haven't tried it in practice yet but I think that's how I would do it. I don't really use /* */ anywhere in the code on a regular basis, so the double forward slash + exclamation mark would be the go-to option.

I assume these styles would take some experimenting with before the most convenient one becomes evident.

from opentesarena.

afritz1 avatar afritz1 commented on July 17, 2024

Decided not to use Doxygen or any doc generation yet. Will re-evaluate this if there's enough demand.

(also this is nearly a 7 year old issue, whoops)

from opentesarena.

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.