Some of the developers encounter the desync issue. This tiny example shows a way to get rid of this issue.
The metatable is very powerful but not practical in Factorio. This example doesn't contain any metatable. It's somehow very much alike when people do oop in C. I mean, C, not cpp.
Any question, comment.