HN user

Coder1996

-1 karma

Autistic full-stack Web engineer.

Posts0
Comments13
View on HN
No posts found.

I asked ChatGPT 4 for an explanation and came up with this analogy,

Imagine all in-game characters have their data in a database. The database might have one or more tables representing an objects ID or another reference, its position, its health points, and image data representing how to draw the object. These three things are "components" and the IDs and references are "entities."

A system is anything that manipulates one of these components. Thus, a function that manipulates a component is a system.

So, you created a function to generate a number containing digits of the Fibonacci sequence, then you used the generated number to create another function to compute a zfibonacci sequence, and thus you eliminated a need for looping or recursion.

Cool!