bito-code-review[bot] commented on PR #39908:
URL: https://github.com/apache/superset/pull/39908#issuecomment-4396851326

   <!-- Bito Reply -->
   The destructuring approach you suggested improves readability by clearly 
separating the primary and fallback assignments based on the condition, 
avoiding the nested ternary operators. It achieves the same logic with better 
clarity. If you prefer if/else for even more explicit control flow, that could 
work too, but the destructuring is concise and effective.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to