Update article.md

This commit is contained in:
Jay 2018-11-09 11:29:18 +01:00 committed by GitHub
parent fa3916f4c0
commit b1b04d9ff2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -332,7 +332,7 @@ return*!*;*/!*
So, it effectively becomes an empty return. We should put the value on the same line instead. So, it effectively becomes an empty return. We should put the value on the same line instead.
```` ````
## Naming a function #function-naming ## Naming a function [#function-naming]
Functions are actions. So their name is usually a verb. It should be brief, as accurate as possible and describe what the function does, so that someone reading the code gets an indication of what the function does. Functions are actions. So their name is usually a verb. It should be brief, as accurate as possible and describe what the function does, so that someone reading the code gets an indication of what the function does.