Hi, I have started a Wiki page for documenting the Java code style used in LT. Please take a look and let me know what you think:
http://wiki.languagetool.org/code-style There's mostly one point that would lead to some changes: > Do not use "final" for parameters or local variables, but write your code > as if there was a "final", i.e. do not re-assign local variables. Configure > your IDE to help you with that. For IntellJ IDEA, the warnings > ("inspections") to activate are "Reuse of local variable" and "Assignment > to method parameter" The reason is that we use a lot of "final" and it makes the code more verbose. The idea about "final" is a good one, as it helps making code more robust, but I think we don't need it if we can have the same effect by turning on some IDE warning. Regards Daniel -- http://www.danielnaber.de ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel