I guess it used to be more of a problem before languages started shipping their own linters and code styles (like Rust does), or agreed to use a single tool. Kind of a legacy artifact.
// I prefer to look at this:
function example( whatever ) {
:
}
// Instead of this:
function example(whatever)
{
:
}
And I don't think it's appropriate to force everyone who uses your language to adhere to the same style. If you want to enforce a style, just encode that style in the syntax of the language.Also... my dyslexic coders tend to hate long lines of code, so we sometimes do lispy things like this:
const foo = whatever(
"this is a big long parameter",
( 2 + bar ) * 90,
i,
process.env.HOME || `/mnt/${process.env.USER}`
);
instead of this: const foo = whatever( "this is a big long parameter", ( 2 + bar ) * 90, i, process.env.HOME || `/mnt/${process.env.USER`);
And there's nobody's style that allows the former.