You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? If yes, please describe the problem.
It is not a problem, because the code works well and it is not visible to the user. It can be considered a 'code smell' by some devs.
Describe the solution you'd like to see.
Removed duplication of code 😄
Were you inspired by anything else, that you have experienced?
Inspired by @YonatanKra
Describe alternatives you've considered (if any). If you haven't that is also ok 😄
The alternative is leaving the duplicated code, but as new people contribute this will become more and more problematic.
Any additional details about this request that you want to share?
Nope
How important is it for you to have this feature?
It could save time in the future because if there is only one implementation, changes will be made in one place instead of 3.
The text was updated successfully, but these errors were encountered:
dastin-sandura
changed the title
Refactor: extract common logic for checking if a reserved keyword is used in from let, const and assign to avoid code duplication
Refactor: extract common logic, checking if a reserved keyword is used, from let, const and assign resources to avoid code duplication.
Oct 31, 2020
Is your feature request related to a problem? If yes, please describe the problem.
It is not a problem, because the code works well and it is not visible to the user. It can be considered a 'code smell' by some devs.
Describe the solution you'd like to see.
Removed duplication of code 😄
Were you inspired by anything else, that you have experienced?
Inspired by @YonatanKra
Describe alternatives you've considered (if any). If you haven't that is also ok 😄
The alternative is leaving the duplicated code, but as new people contribute this will become more and more problematic.
Any additional details about this request that you want to share?
Nope
How important is it for you to have this feature?
It could save time in the future because if there is only one implementation, changes will be made in one place instead of 3.
The text was updated successfully, but these errors were encountered: