Cofounded Host Collective (DiscountASP.net). Cofounded Player Axis (Social Gaming). Computer Scientist and Technology Evangelist with 20+ years of experience with JavaScript!
I personally feel in large projects we need to enforce the use of body braces and explicit returns, as that is the only syntax that will work consistently, regardless of the changes made to the function(adding a parameter, changing the return type, adding 1 more line).
I'm curious about your reasoning here and if you have any examples that could clear things up for me.
I don't see the syntax as being retired to project size.
Changing either the input or output of a function should be the same in both situations.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm curious about your reasoning here and if you have any examples that could clear things up for me.
I don't see the syntax as being retired to project size.
Changing either the input or output of a function should be the same in both situations.