This works with most editors and doesn't require fancy multi-language syntax highlighting support. When debugging complex scripts that involve many joins or CTEs having good highlighting can prevent a lot of headaches.
You want your users to just be able to import that library and use it. The fact that you need a bunch of zone info files should be invisible to them.
Maybe those users are in a sandboxed environment that doesn't allow opening files, or you're in webassembly where files don't exist.
It's much simpler to just bake that data into the library.
Parent just chose timezones as an example.
The landscape of tools supposed to solve that problem isn't great. Things are changing way too fast with projects being archived or deprecated with mention to migrate to another solution which after another year is deprecated again. Because of those issue, I've went with go generate which isn't ideal but is at least stable. That proposal would be a game changer and hopefully it will become a reality as Brad is quite a prominent figure in the Golang world.
BTW. Fantastic software, filestash - really really good.
Instead of having a "messy" folder on their computer.
If you don't need one of the features of having "moving parts" on the filesystem, then why would you want a dependency on the local filesystem?
I can use this feature to bundle the report template, css, js, images file with the plugin to make download installation and use of the plugin much easier.
In short, these embedded assets are no more likely to be in memory than any other file-backed data. If you want to guarantee they are in memory, it is up to you to make that happen.
More important is avoiding having to answer the question "where are my assets".