Skip to content

Conversation

@Robbie-Palmer
Copy link
Contributor

By using the lazy loading design pattern, with a private field hidden behind a property, duplicate code is removed
And the currency.json file will not be read multiple times from disk

Removing duplicate code, and preventing redundant disk reads
@abhijeet-1110 abhijeet-1110 merged commit 1f131f3 into MicroPyramid:master Dec 3, 2021
@Robbie-Palmer Robbie-Palmer deleted the lazy-load-currency-data branch June 5, 2022 17:21
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