Please assume 'use strict'; and also assume that, JSLint is on and errors cannot be ignored.
I find operators and ',' initiated lists so much more readable,
e.g.:
var i = 0
, j = 1
, someLongVariablename1
, someLongVariablename2
, someLongVariablename3
, someLongVariablename4;
if( (
'dcr' === cmd
&& (action)
&& ('get' === actionHttp || 'post' === actionHttp )
&& whatever
) { ... }
Hence my question:
Is "Bad Line Breaking" obsolete with "use strict"?
EDITED: 'use strict'; will not prevent the execution of bad line breaking the code. It can prevent the execution of some kinds of errors.
I see that JSLint and JSHint treat bad line breaking differently. JSHint is much friendlier towards the syntax I prefer.
So that, may be a solution for others who are working on this.