named a specific thing
* One more extra special case to remember
* Defining many of the same function is fine in this specific case, unlike any other function definition case
* Imports cause code to run without any visible control flow flowing from the importing code
* No insight into which packages use init without reading all code, and thus no insight into what packages are doing on import on your system at all
* Very little control over what might cause slow startup times since there's no control or insight
How is init useful enough to be worth all of these problems?
The usefulness has to be HUGE
so basically, the only con is implicitness
Обсуждают сегодня