Tutorialr Talks - Rules Engine with .NET

Поділитися
Вставка
  • Опубліковано 13 січ 2025

КОМЕНТАРІ • 9

  • @ChaseFreedomMusician
    @ChaseFreedomMusician 9 місяців тому +3

    Why is all the programming done as strings in the constructor? That seems terrible from a usability perspective.

    • @RoguePlanetoid
      @RoguePlanetoid  9 місяців тому

      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

    • @ChaseFreedomMusician
      @ChaseFreedomMusician 9 місяців тому +1

      @@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.

    • @RoguePlanetoid
      @RoguePlanetoid  9 місяців тому +1

      @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

    • @ChaseFreedomMusician
      @ChaseFreedomMusician 9 місяців тому +1

      @@RoguePlanetoid thanks

  • @rajeemcariazo
    @rajeemcariazo 3 місяці тому +1

    He sounds AI in the beginning

    • @RoguePlanetoid
      @RoguePlanetoid  3 місяці тому +1

      @@rajeemcariazo No AI voices in this video 😀

    • @rajeemcariazo
      @rajeemcariazo 3 місяці тому

      Yeah, I just thought it was

  • @user-rp9iis1en6h
    @user-rp9iis1en6h 4 місяці тому +1

    Sorry to say, the example was terrible. Please never show this kind of example for the beginners, they will run away from this library.