Historically two separate entrypoint bootrappers were needed for extensions and for grease monkey user scripts. As of the latest refactor of the codebase this has changed but entrypoints are still separated. They are the same duplicated code and in foreseeable future these separation will not give us a real benefit.
Thus bootstrapping and app entry can be merged into a single entrypoint for both, making bootstrapping completely obsolete.
This will reduce branching of the codebase for the different platforms even more as well as reducing the size of it as it will remove the bootstrap folder completely.
The tax for this refactor is basically zero because adding branching again for platform dependend entrypoint injection (if this will ever be needed anyways) is trivial if we weight this against the benefits we get (readability, less complexity). Especially for first readers.
Historically two separate entrypoint bootrappers were needed for extensions and for grease monkey user scripts. As of the latest refactor of the codebase this has changed but entrypoints are still separated. They are the same duplicated code and in foreseeable future these separation will not give us a real benefit.
Thus bootstrapping and app entry can be merged into a single entrypoint for both, making bootstrapping completely obsolete.
This will reduce branching of the codebase for the different platforms even more as well as reducing the size of it as it will remove the bootstrap folder completely.
The tax for this refactor is basically zero because adding branching again for platform dependend entrypoint injection (if this will ever be needed anyways) is trivial if we weight this against the benefits we get (readability, less complexity). Especially for first readers.