Skip to content

strongly typed codebase #5

@toinbis

Description

@toinbis

As a follow-up to #4 - I would kindly like to ask one more question, if I may.

@pgorecki - would you see strongly-typed codebase would be a goal for lato?

I spent gazillion hours trying to strongly-type python-ddd repo fork. Even found a bug in pyright along the way: python/typing#1451 (reply in thread) :). Spent this weekend trying to strongly type lato...

I think lato is wonderful. But there is little bit of black magic which I am not capable to understand just by looking at code. Strongly typed codebase would help to reason it a lot. Am sure it'd force to restructure some parts of the code, simplify it.

It's a big feature with not necessary clear benefits for you personally (as you know all the codebase by heart). But that'd surely be a nice to have for lato as a publicly used framework.

I'd love to try to contribute to it. But only if you wanted this to happen and provide some guidance. I have strongly-typed lato codebase during the weekend (with the help of chatGPT...;), it could be some starting point. I could open a PR with all the changes, or I don't know how would it be the best to approach it.

But yeah - you willing to see it happening and having to plans to guide/contribute to this happening at least a little bit are both hard requirements to even start thinking about this.

https://github.com/pyeventsourcing/eventsourcing is strongly typed codebase, would you it could be named as a goal for lato framework as well?

Thanks for any thoughts!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions