Hacker News new | past | comments | ask | show | jobs | submit login

I agree that it isn't necessarily a smell.

It really depends on the scope of the problem. Is this supposed to be a fully-functional addition function, or is this a throwaway helper function that the coder wrote because they were doing that specific operation many times, and they didn't want to type the entire thing out? If it's the first case, then it may be an issue. If it's the second, it's just poorly named, and not necessarily an issue at all.




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

Search: