Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break error into micro crate #973

Closed
wants to merge 4 commits into from

Conversation

zancas
Copy link
Member

@zancas zancas commented Apr 20, 2024

An argument in favor: The codebase inside zingolib is shrinking.

Copy link
Contributor

@Oscar-Pepper Oscar-Pepper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NAck

I would like some actual advantages before we consider this...
as you said a "crate" is a stand-a-lone part so having lots of crates all depend on one error crate doesnt seem right to me. Having the errors of one crate in another crate doesnt seem right either. also I cant actually think of an application of a workspace-wide error. most likely if our codebase was as suggested int his PR, I would think its a good idea to open a PR which sorts the big heap of random error in this new crate into the crates it belongs in. therefore this seems like an anti-pattern to me

@zancas zancas closed this Apr 22, 2024
@zancas zancas deleted the break_error_into_micro_crate branch May 30, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants