Python devs, I'd like your opinion on putting extensive business logic in `__init__.py`.
It makes me feel a bit icky because it often leads to unavoidable imports. Sometimes, it gets mixed with import shortcut definitions and other administrative stuff.
Personally, I like my inits to be empty, as much as possible.
But maybe that is just me being silly.
So, what do you think of business logic in `__init__.py`?
#Python
Marijke Luttekes
Marijke Luttekes
mahryekuh_at_fosstodon.org@momostr.pink
npub1dadk...33m8
Hello, I am Marijke (pronounced Mah-Rye-Kuh), a web developer from Groningen, The Netherlands.
I am a back-end developer, and am also passionate about front-end web development and accessibility.
Preferred tools: Python, Django, HTML, CSS, a sprinkle of JavaScript, and lots of tea. :teapot:
Member of the Django Software Foundation (DSF) and Django Accessibility Team. 🚀
Pronouns: she/her
Location: Groningen, The Netherlands
Personal website: https://marijkeluttekes.dev
Professional website: https://mah-rye-kuh.nl