Refactoring to an Adaptive Model
Refactoring to an Adaptive Model Most of our software logic is written in our programming languages, these give us the best environment to write and evolve such logic. But there are circumstances when it's useful to move that logic into a data structure that our imperative code can interpret - what I refer to as an adaptive model. Here I'll show some product selection logic in JavaScript and show how it can be refactored to a simple production rule system encoded in JSON. This JSON data allows us to share this selection logic between devices using different programming languages and to update this logic without updating the code on these devices. 19 November 2015 Contents I recently did some consulting for the Hellenic Potions Corporation based in Atlantis. They are developing software applications to help potion brewers make effective potions. One aspect of good potion brewing is to get the right varieties of ingredients in your potion recipe.Read full article from Refactoring to an Adaptive Model
No comments:
Post a Comment