3 ms·
> In contrast, many Python modules include initialization functions that run during the import. I just thought it's a natural consequence of a dynamic languge.
by golergka 8y ago
> In contrast, many Python modules include initialization functions that run during the import.
I just thought it's a natural consequence of a dynamic languge. Defining a class IS running code - you can even decide to define or not to define something based on a runtime random roll.