[ 
https://issues.apache.org/jira/browse/IMPALA-13389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Surya Hebbar updated IMPALA-13389:
----------------------------------
    Description: 
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, as in many instances across the scripts, no particular 
naming scheme has been followed.
    

  was:
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, as in many instances across the scripts, no particular 
naming scheme has been followed.
    


> 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, as in many instances across the scripts, no 
> particular naming scheme has been followed.
>     



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to