Hello,
Recently learned about the global BulletinBoard, ‘bboard’, and realized I can post whole module imports, like this:
import my_module
bboard.post("my_module", my_module)
Which then allows me to access a singular import from almost anywhere in my code, breaking away from the overhead & clutter of passing single-purpose objects around everywhere.
This seems too good to be true. Are there any pitfalls or considerations I’m missing? I’ve been running with it, and so far, it works exactly as I’d expect. The organization of my code just went up 10x, so long as I don’t run into any untenable brick walls (thankfully, it’s early in the project, so I can easily pivot on this for now).
Thanks for reading!