Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: