It can be a pain sometimes to satisfy it, but most of the time, my code ends up better than it was before.
Well, except for gocyclo. Some functions just are complex - simplifying them or breaking them up into several smaller functions just to keep each function small is not always the best idea or even possible. But that can easily be disabled on a per-function basis.
It can be a pain sometimes to satisfy it, but most of the time, my code ends up better than it was before.
Well, except for gocyclo. Some functions just are complex - simplifying them or breaking them up into several smaller functions just to keep each function small is not always the best idea or even possible. But that can easily be disabled on a per-function basis.