News for hackers. Stuff that matters.
Re:Sass Guidelines by paulojreis on Wednesday January 07, 2015 @04:27AM (#8849590)
I agree. Even within the relevant field (front-end development), explicit leading zeros are encouraged. JavaScript code quality tools such as JSHint and JSLint will complain when the leading zero isn't explicit. E.g:

JSHint var foo = .1; // Unexpected '.'.

JSLint var foo = .1; // A leading decimal point can be confused with a dot: '.1'.

There are no comments on this comment yet.