You recommend to write function name (arg) { ... } instead of function name(arg) { ... }.
It seems you are the only one among the JavaScript style guides (*) to recommend that:
Consequence, you also recommend to write:
class Foo {
name (arg) {
...
}
}
instead of
class Foo {
name(arg) {
...
}
}
None of the popular programming languages out there do that:
And last, statistics show that most people (67%) don't write a space after function in JavaScript.
Related issues: #89, #164, #217
(*) listed on Google first page
You recommend to write
function name (arg) { ... }instead offunction name(arg) { ... }.It seems you are the only one among the JavaScript style guides (*) to recommend that:
Consequence, you also recommend to write:
instead of
None of the popular programming languages out there do that:
And last, statistics show that most people (67%) don't write a space after function in JavaScript.
Related issues: #89, #164, #217
(*) listed on Google first page