Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function naming #32

Open
eliasmalik opened this issue Mar 29, 2018 · 0 comments
Open

Function naming #32

eliasmalik opened this issue Mar 29, 2018 · 0 comments

Comments

@eliasmalik
Copy link

const filter = (data) => {

Usually helps to be more descriptive when naming functions. filter is a very generic name, which would be fine if the function was doing something generic, but the logic is actually very specific to your application. Without looking at the function body, I'd have no idea what it was filtering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants