Giter Club home page Giter Club logo

Comments (7)

rms80 avatar rms80 commented on August 19, 2024 3

would you pay for it?

from geometry3sharp.

rms80 avatar rms80 commented on August 19, 2024 1

i see. yes my preference is for "egyptian" brackets, regardless of what MS thinks =). Generally the lower-case / underscores names are supposed to only be internal to classes, where I have to maintain complicated things and I find it much easier to read when I come back 6 months later. But those names have leaked out in some places, for expediency.

Much of the geometric-algorithms code (primitive distances and intersections, approximation, solvers) is ported from geometrictools.com GTEngine, literally cut-paste and then fix-up compile problems and glaring performance issues. I don't have time to rewrite these to be stylistically consistent, and keeping the code as similar as possible will make it easier to port over future bugfixes in the C++ code.

As for the original request @Firstborned, basically this is a library I am developing for use in consulting projects and my own products, and nobody is paying me to write documentation. I have a hard time imagining anyone paying my hourly consulting rate for documentation-writing, but if you are willing, we can discuss further =)

from geometry3sharp.

0x00x0 avatar 0x00x0 commented on August 19, 2024

Should I?

from geometry3sharp.

visose avatar visose commented on August 19, 2024

I would pay for a rewrite that follows C# conventions 😝

from geometry3sharp.

rms80 avatar rms80 commented on August 19, 2024

which conventions?

(sorry, ~20 year c++ programmer and roughly half the library is line-for-line ports of c++ code)

from geometry3sharp.

visose avatar visose commented on August 19, 2024

I mentioned it in jest, the library is great, not complaining at all. You can tell it's being written by a C++ programmer, though.
If you really want to follow C# guidelines you can have a look here:
https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/
Most immediately obvious is the naming conventions. For example, some method names are lower case, use of underscores between words, use of contractions, use of 'Egyptian brackets'.

from geometry3sharp.

CodeDoes avatar CodeDoes commented on August 19, 2024

The project is already well documented... just need to extract the comments from the code. then Documents get.

Doxygen shoul do...

from geometry3sharp.

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.