Are you also planning to define beancount "API" more clearly and safely?

We touched upon the subject in this 
discussion:  https://groups.google.com/g/beancount/c/UatQey1X0OY/m/0FGCrY5fAwAJ 

Would it not be logical, that by using defined API (I think you called it 
"a contract") user is not able to "break" something, the API would simply 
not allow this to happen?

I know this may be a naive question (as I am not professional), but why 
doesn't beancount use object-oriented approach?  So you have an object, 
representing all transactions, and user can manipulate them (add / delete) 
through methods, but implementation of the class does not allow unsafe 
changes / operations? 

On Saturday, July 4, 2020 at 8:34:50 AM UTC+2 bl...@furius.ca wrote:

> Hi,
> Today I'm starting development on Beancount v3. 
>
> This is going to be a pretty big change and will take a while. 
> I've laid down the details in this document:
>
> https://docs.google.com/document/d/1qPdNXaz5zuDQ8M9uoZFyyFis7hA0G55BEfhWhrVBsfc/
>  
> <https://docs.google.com/document/d/1qPdNXaz5zuDQ8M9uoZFyyFis7hA0G55BEfhWhrVBsfc/edit#>
>
> This file describes the new set of dependencies for it:
>
> https://docs.google.com/document/d/10R-msZljuqFY8nckUnR1jVxMX1ol7rJUCMZo7w7QUQs/
>  
> <https://docs.google.com/document/d/10R-msZljuqFY8nckUnR1jVxMX1ol7rJUCMZo7w7QUQs/edit#>
>
> And there is a dedicated installation file for the in-development version:
>
> https://docs.google.com/document/d/1WwZYqsp28Uuk5eFqHQ1u1zqdjghymy8S_Yo-OJENoa4/
>  
> <https://docs.google.com/document/d/1WwZYqsp28Uuk5eFqHQ1u1zqdjghymy8S_Yo-OJENoa4/edit#>
>
> The short version is that v3's core is going to be ported to C++ using a 
> Bazel build, and the codebase will be sectioned between core and the rest.
> I just merged the new build definition in master.
>
> The current head will be branched as "v2" and maintained stable. 
> It will build with both setup.py and Bazel.
> Backward compatible fixes to it will be done there and merged into v3.
> v3 development will occur on branch "master" and breaking changes will 
> occur there.
>
> Comments appreciated (on the docs, or here if you prefer),
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/7cbcaa0d-7556-4c26-a41c-c4f325d1ab93n%40googlegroups.com.

Reply via email to