Definitely one of the parts of Go that seems most likely to lead to regret. Unspecified call order. Mandatory startup time penalties just for importing a package. Blech.
(It is handy, though.)
(It is handy, though.)
Are the startup penalties for importing a package really that significant? Are there ways of reducing them?
But I confess it's just a hypothetical problem for me so far -- I haven't yet run into trouble from it yet. I think Go's general culture of restraint and light-weightness may help it here.
(I've had tons of problems w/ this in python, which makes me suspicious of the feature generally.)