Most style guidelines for most programming languages recommend a maximum line length, typically 80 characters. This seems impractically short for HTML and JavaScript (when it is embedded in HTML). Is there a consensus on a practical line length limit for HTML/JavaScript? Or is it generally left up to the developer’s common sense?
Most style guidelines for most programming languages recommend a maximum line length, typically 80
Share
Since you mention JavaScript, this is what Douglas Crockford has to say on the topic: