Skip to content
This repository was archived by the owner on Jun 23, 2022. It is now read-only.

Updated Forecast Adapter using SOLID principles.#335

Open
Sugooi wants to merge 3 commits intoudacity:sunshine_masterfrom
Sugooi:sunshine_master
Open

Updated Forecast Adapter using SOLID principles.#335
Sugooi wants to merge 3 commits intoudacity:sunshine_masterfrom
Sugooi:sunshine_master

Conversation

@Sugooi
Copy link
Copy Markdown

@Sugooi Sugooi commented Jul 9, 2017

By using switch code was violating the open-closed principle.

Sugooi added 3 commits July 9, 2017 19:10
Removed the switches as it was violating the open-close principle.
Updated ForecastAdapter using SOLID principles.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant