You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Surya Hebbar (Jira)" <ji...@apache.org> on 2025/04/17 08:00:00 UTC
[jira] [Resolved] (IMPALA-13389) Refactor all webUI variable and function declarations to use ES6 syntax
[ 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org