You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/10/14 01:28:17 UTC

[GitHub] [cordova-android] breautek commented on issue #786: Improve coding style (general)

breautek commented on issue #786: Improve coding style (general)
URL: https://github.com/apache/cordova-android/issues/786#issuecomment-541479675
 
 
   I would also strive to add `"use strict;"` in the javascript sources, and fix any code that would be preventing us from using strict mode. 
   
   Strict mode offers 2 main benefits:
   1) Enables optimizations in the JS engines to make JS perform faster whereas without strict mode, the JS engines cannot possibly make such assumptions during its interpretations.
   2) Helps prevent some JS bad practices being added in the future as most of them will lead to actual errors.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org