Hi,
2013/1/19 Daniel Naber <list2...@danielnaber.de>
> On 18.01.2013, 17:35:01 Marcin Milkowski wrote:
>
> > Also, making a variable final should allow JVM to optimize the code
> > more, and hence make it slightly faster. Most coding guidelines actually
> > (including the one built-in in Eclipse) require to make as much
> > finalization as possible.
>
> We shouldn't worry about this kind of micro-optimization.
Any optimization is welcome considering LT is usually suppose to run
silently in the background as fast as possible (like in OpenOffice). If a
simple 'final' keyword might help, I vote for using it.
As a java developer, I consider the 'final' keyword a good thing: it makes
the code more clear and easier to maintain.
Regardless of using or not using 'final', if there are any coding rules
that can be translated into IDE settings, we should provide these settings
as part of the project: i.e. we should have settings files for the major
IDEs used on LT (like Eclipse and IntelliJ IDEA) that user can simply
import. I use Eclipse, so I would use files like formatter.xml and
cleanup.xml (for IntelliJ IDEA I think they all go into some settings.jar)
Regards,
Ionuț Păduraru
> Isn't there a
> setting in Eclipse that warns about re-assigning variables when the final
> keyword is not used?
>
> 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
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 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_122412
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel