Re:After 3 Months of JavaScript Linting, It's Pretty Much Al...
by lolc on Thursday August 03, 2017 @01:23PM
(#14921601)
Note how he explicitly recognizes how everybody has their own best style. Nowhere does he encourage arguing about style details.
[ Parent
| on HN ]
Re:After 3 Months of JavaScript Linting, It's Pretty Much Al...
by whipoodle on Thursday August 03, 2017 @01:44PM
(#14921847)
I just think it's silly. It's a silly thing to get attached to or care about. The code just needs to be legible and consistent.
Re:After 3 Months of JavaScript Linting, It's Pretty Much Al...
by nulagrithom on Thursday August 03, 2017 @02:24PM
(#14922262)
Consistent is a big one.
Imagine every time you reach for a module in your codebase you have to remember that Joe came from C# so he likes to use PascalCase for his methods instead of camelCase like the majority of JS libraries. And John likes Snake_case for his classes because he came from PHP and that seems more natural to him.
I've been in that environment. It will make you tear your hair out in a week.