3 ms·
I think it can be good to have functions that are only called in one place if they do really well defined things. load_settings, or similar is probably one call
by quelsolaar 6y ago
I think it can be good to have functions that are only called in one place if they do really well defined things. load_settings, or similar is probably one called on one place, but if it makes sense to have it as a separate function.
I prefer clear naming over comments, because comments doesn't "travel" everywhere the named function/type/variable does.
- hvidgaard 6y agoAnd comments needs to be maintained too, which often slips even in PR reviews.