2 ms·
man, I implemented a rules engine library where i expressed, the rules as S-Expressions (basically a lisp) that mapped to ruby lambdas. that way when finance wo
by weatherlight 5y ago
man, I implemented a rules engine library where i expressed, the rules as S-Expressions (basically a lisp) that mapped to ruby lambdas. that way when finance would come back and be like, "what was the logic and the rules at a given point of time, I could point to what the rule was, what was it configuration, and who changed the configuration or the rule."
and the rule execution strategy.
It works, I'm proud of it, the lisp layer is completely abstracted away from the developers and the users who configur ed the rule.
I thought I was so clever :) Apparently, engineers have a habit of doing this.