>> 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.

Sometimes it is mandatory to use final on a parameter or local variable,
e.g. to make it accessible in an anonymous inner class.

Cheers,

-- Richard
------------------------------------------------------------------------------
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

Reply via email to