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

Update structs3.rs #2181

Closed
wants to merge 1 commit into from
Closed

Update structs3.rs #2181

wants to merge 1 commit into from

Conversation

br8bit
Copy link

@br8bit br8bit commented Dec 26, 2024

Refactored the code to encapsulate the cents_per_gram field within the Package struct, improving architectural clarity and maintainability. Additionally, updated the related functions and tests to align with this restructuring

Refactored the code to encapsulate the cents_per_gram field within the `Package` struct, improving architectural clarity and maintainability. Additionally, updated the related functions and tests to align with this restructuring
@mo8it
Copy link
Contributor

mo8it commented Dec 28, 2024

I prefer the old way. These exercises are tiny, it is not about maintainability.

@mo8it mo8it closed this Dec 28, 2024
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