Skip to content

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