I disagree with my own stance from 2021. I wrote that before I started building anything more than small projects.
It’s still true that generalizable code should be moved into modules, but I admit that the rest of what I said about keeping code in script files and using go.property()
for sharing data was mostly wrong and will lead to problems when a project grows large enough. @Vow’s take becomes more and more vital as a project grows.
Of course, with very small projects, it’s no big deal either way.