Some developers love consistency too much


Some developers love consistency too much.

Examples:

“Always use let.”

“Always use an arrow function instead and of a function declaration.”

“Always extract an event handler, even if it’s not reused and a single line.”

Avoid “always”. Consider the context.

View original on X