Why is all the programming done as strings in the constructor? That seems terrible from a usability perspective.
@RoguePlanetoid9 ай бұрын
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
@ChaseFreedomMusician9 ай бұрын
@@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.
@RoguePlanetoid9 ай бұрын
@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
@ChaseFreedomMusician9 ай бұрын
@@RoguePlanetoid thanks
@rajeemcariazo4 ай бұрын
He sounds AI in the beginning
@RoguePlanetoid3 ай бұрын
@@rajeemcariazo No AI voices in this video 😀
@rajeemcariazo3 ай бұрын
Yeah, I just thought it was
@user-rp9iis1en6h4 ай бұрын
Sorry to say, the example was terrible. Please never show this kind of example for the beginners, they will run away from this library.