Nice! Never knew you could use underscores to format large numbers like that!
On semicolons though, it's only partially true. I never let production code stay without a linter, and it can catch every single of that few unintentional issues that may occur when you don't use semicolons.
When my developers like it better without semicolons, I choose not to use them, because I'd trade even the marginal improvement in their mental health for some automatable stuff all day, any day.
Agree. It is just that to be on safer side I'd want to use semicolon.
As I have mentioned in the links given, it can have un-intended consequences sometimes and I think that might be the reason why some companies prefer them in their coding standards.
But yeah linter are a good way to catch these issues
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.
Nice! Never knew you could use underscores to format large numbers like that!
On semicolons though, it's only partially true. I never let production code stay without a linter, and it can catch every single of that few unintentional issues that may occur when you don't use semicolons.
When my developers like it better without semicolons, I choose not to use them, because I'd trade even the marginal improvement in their mental health for some automatable stuff all day, any day.
Agree. It is just that to be on safer side I'd want to use semicolon.
As I have mentioned in the links given, it can have un-intended consequences sometimes and I think that might be the reason why some companies prefer them in their coding standards.
But yeah linter are a good way to catch these issues