On 09.09.2013 14:48, ISHIKAWA,chiaki wrote:
But to be honest, I wonder why 2 for JS and 4 for Java.
As far as the indentation requirement is concerned, there does
not seem to be much difference between the two languages.
But there must be a reason. But for a casual programmer, it is not clear.

Probably historic reasons (e.g. somebody started adding lots of Java files with 4-space indents and changing those wasn't considered worthwhile) or consistency with <http://www.oracle.com/technetwork/java/javase/documentation/codeconventions-136091.html>?
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to