Re:Practical Go: Real-world advice for writing maintainable ...
by networkimprov on Thursday February 21, 2019 @05:08PM
(#19220987)
It seems that belief is unfounded. See the link posted by @xtian.
[ Parent
| on HN ]
Re:Practical Go: Real-world advice for writing maintainable ...
by happythought on Thursday February 21, 2019 @11:23PM
(#19223110)
I think “doing one thing” and “getting called one time” are getting confused.
GetData()
FormatData()
UploadData()
Those could do one thing but could be called at several points within a larger program, which i think you are fine with. Or they could only be called once in which case i think you are saying it might make sense to just inline them.
If I understand you correctly, then I agree.