PawelTroka / Computator.NET

Computator.NET is a special kind of numerical software that is fast and easy to use but not worse than others feature-wise. It's features include: - Real and complex functions charts - Real and complex calculator - Real functions numerical calculations including different methods - Over 107 Elementary functions - Over 141 Special functions - Over 21 Matrix functions and operations - Scripting language with power to easy computations including matrices - You can declare your own custom functions with scripting language
GNU General Public License v3.0
233 stars 51 forks source link

Evaluator classes have too many resposibilities #67

Open PawelTroka opened 7 years ago

PawelTroka commented 7 years ago

Right now we not only evaluate expressions / scripts in evaluation classes but we also do code building, some basic input code modifications (like handling implicit/explicit functions), and we even allow some hooks like injecting settings into output assembly. It is simply wrong, contradicts SOLID principles and those classes become unmaintainable mess.

At least we should separate code building responsibilities, preferably with better support for various hooks like injecting settings etc.