Code Monkey home page Code Monkey logo

Comments (4)

simonmichael avatar simonmichael commented on September 10, 2024 1

Not detracting from your point, but remember strict account checking is optional and simply avoiding it is another option when the chart of accounts hasn't yet stabilised.

from hledger.

pwseo avatar pwseo commented on September 10, 2024 1

Yes, I know, but strictness checking is also the only way to know which accounts have not been declared and are being used. One can always get the used accounts' listing from a non-strict hledger accounts, but it has its downsides.

Thank you for the suggestion, though.

from hledger.

simonmichael avatar simonmichael commented on September 10, 2024

I'd be happy to test a PR exploring this. Some checks are relatively easy to continue from on failure; others are not.

But I don't find it causing pain in practice, do you ? I don't have a slow edit-check-fix cycle.

from hledger.

pwseo avatar pwseo commented on September 10, 2024

I'd be happy to test a PR exploring this. Some checks are relatively easy to continue from on failure; others are not.

Maybe one day. Right now my Haskell skills are subpar and I have no familiarity with hledger's code base (sadly). I'll try and change that in the future.

But I don't find it causing pain in practice, do you ? I don't have a slow edit-check-fix cycle.

In a carefully maintained chart of accounts this isn't problematic (especially if one has some kind of auto-complete for account names), but scenarios vary.
I recently started tracking my finances with hledger and there was a lot of checking and fixing to do in the beginning (because my chart of accounts wasn't fully developed).

Still, on a more general note, I think having the check command try and report as many errors as it can is a positive change, while passing the --strict flag should still quit after the first error is found.

from hledger.

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.