@@RoguePlanetoid but why not just as code if your bringing it in as individual classes? As a general thing that makes sense but what's described here feels like creating classes with extra steps and no intellisense.
@ChaseFreedomMusician Indeed you could have the rules in code, but here you can have these lambda expressions loaded from config or a database or JSON or for this simple example as strings, that's the main benefit of that approach but you could use the same structure with normal code and have benefits of intellisense too, that's something I've used before in fact
Why is all the programming done as strings in the constructor? That seems terrible from a usability perspective.
It just made them easier to show off for this example, but rules could be defined in JSON instead, and that would probably be better for usability
@@RoguePlanetoid but why not just as code if your bringing it in as individual classes? As a general thing that makes sense but what's described here feels like creating classes with extra steps and no intellisense.
@ChaseFreedomMusician Indeed you could have the rules in code, but here you can have these lambda expressions loaded from config or a database or JSON or for this simple example as strings, that's the main benefit of that approach but you could use the same structure with normal code and have benefits of intellisense too, that's something I've used before in fact
@@RoguePlanetoid thanks
Sorry to say, the example was terrible. Please never show this kind of example for the beginners, they will run away from this library.