Skip to content

Conversation

@bamsbale
Copy link

@bamsbale bamsbale commented May 4, 2021

Please see the findings below :

CodeReview-MalithB.pdf

bamsbale added 3 commits May 4, 2021 19:27
…nternal unless there is specific reason to make them public.

- Consider using chaining constructors :base() in constructors of derived classes to implicitly call the constructor of the base class.
- Consider introducing a separate class for global constants like variables and enums
Simplify member acces "base.NumberOfRedShape" to "NumberOfRedShape"
- Remove unnecessary parentheses
- Remove and Sort Usings
… Introduced a new entity called ShapeVariant

- Introduced a separate helper file for report generation to avoid code duplication in each report class
- Move generic functionalities from derived classes to it's base class
… to avoid lots of code duplication in Program.cs.

- Introduced a new option to allow empty inputs
- Order.ToString() hides Object.ToString(), so 'override' statement was added.

-- TODO :
-- User input and sanitization
-- Reconsider the project/folder structure
-- Unit Tests
-- Upgrade target framework as current version is out of support
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.

1 participant