Hacker News new | ask | show | jobs
by fabiopolimeni 766 days ago
I think you are right with most of your observations.

Why do you think that using something like createOrUodateRule could limit the ability to produce complex behaviour?

1 comments

The callback style in createOrUpdateRule appears to create isolated snippets of code that can't invoke other rules.

Perhaps I've misunderstood what is happening, but if this is how it is, the agent can never write a function and compose other functions out of it.

That is functional programming where functions cannot call each other.

Composition of code units (ie. code A calls code B) is the basic building block that allows software to scale.

Without it, I don't believe you can get above trivial complexity.