Am Mittwoch, den 08.02.2006, 23:43 +0100 schrieb Daniel Leidert:
> Am Mittwoch, den 08.02.2006, 15:43 -0500 schrieb Miguel:
> > For software development projects it is important to maintain a consistent
> > coding style.
> 
> Short question: What made the decision to use spaces instead of tabs for
> indentation? Tabs allow the user to choose how many spaces are used for
> a tab-step. Using only spaces encreases the file-size and forces the
> user to use the chosen tab-step.

I've tested indentation in JmolApplet.java by using:

indent --line-length 80 --k-and-r-style --tab-size 4 -bbo JmolApplet.java

and the resulting file-size is only 92% of the original file. For the
whole Jmol archive this could mean a noticeable reduction. What do you
think about this?

Regards, Daniel



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to