Git Product home page Git Product logo

Comments (4)

TallJimbo avatar TallJimbo commented on May 27, 2024

SBProfile isn't totally self-consistent either (and it certainly isn't consistent with the LSST conventions we're loosely following, though I'm not suggesting that it should be).

I wouldn't recommend making changes deep within your source files; it's probably more important that HSM be similar to other incarnations of HSM elsewhere.

from galsim.

rmandelb avatar rmandelb commented on May 27, 2024

Here was my rationale (and let me pull @barnabytprowe into this conversation) -
It's true that SBP is not consistent with LSST conventions. So eventually if we have new code according to LSST conventions, SBP, and hsm code, we will have 3 conventions running around. Given that hsm is not a lot of code, I thought we could at least reduce it to 2 conventions to be slightly less annoying. Also, to clarify, I was not going to make tons of changes deep in the code. The changes I had in mind were mainly related to file naming conventions (e.g., Psfcorr.h instead of psfcorr.h) and classes (e.g. I have OBJECT_DATA whereas our class naming convention does not have all-caps, and for consistency with SBProfile, ObjectData would make more sense). These are pretty simple and would fix the most glaring things. SBProfile lacks internal consistency in naming conventions for functions, so I wasn't going to make any changes to those in my code either.

from galsim.

barnabytprowe avatar barnabytprowe commented on May 27, 2024

Can I add this to credo.txt:

" We will adopt the SBProfile capitalization style wherever sensible for code filenames, as it's by
far the most significant chunk of C/C++ we are currently using. This makes include/*.h files
capitalized. "

The Class name convention is covered broadly by the LSST style anyway...

from galsim.

rmandelb avatar rmandelb commented on May 27, 2024

Sounds good to me.

from galsim.

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.