[
https://issues.apache.org/jira/browse/IMPALA-13389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Surya Hebbar resolved IMPALA-13389.
-----------------------------------
Resolution: Implemented
> Refactor all webUI variable and function declarations to use ES6 syntax
> -----------------------------------------------------------------------
>
> Key: IMPALA-13389
> URL: https://issues.apache.org/jira/browse/IMPALA-13389
> Project: IMPALA
> Issue Type: Improvement
> Reporter: Surya Hebbar
> Assignee: Surya Hebbar
> Priority: Major
>
> Using ES6 syntax with 'let' and 'const' greatly improves scoping,
> immutability, readability and helps in easier maintenance.
> In addition, it also improves the memory usage by reducing the scope.
> Also using ES6's arrow functions instead of traditional unnamed function
> declarations would be more cleaner and concise, where 'this' object within
> the function definition is bound to the surrounding context.
> It would be helpful if the variable and function names are revised to follow
> a single naming scheme, because in many instances across the scripts, no
> particular naming scheme has been followed.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)