Closed stemarie closed 5 years ago
Renamed nestedOperators to _* in order to follow private variable standards, also made it readonly as its value never changes
Made possible methods static
Used base types where possible
Using LINQ expression instead of a foreach loop
Simplified switch case in BinaryExpression
Simplified if-elseif-else since it was using returns
Simplified StringToExpression, it now is a single line that doesn't need a temporary variable
And most important - All unit tests pass
Renamed nestedOperators to _* in order to follow private variable standards, also made it readonly as its value never changes
Made possible methods static
Used base types where possible
Using LINQ expression instead of a foreach loop
Simplified switch case in BinaryExpression
Simplified if-elseif-else since it was using returns
Simplified StringToExpression, it now is a single line that doesn't need a temporary variable
And most important - All unit tests pass