Changes between Initial Version and Version 1 of Ticket #6581, comment 15


Ignore:
Timestamp:
04/16/2018 08:39:54 AM (20 months ago)
Author:
agiammarchi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6581, comment 15

    initial v1  
    1212a `for/of` might explicitly have a logic that prefers the `const` guard. 
    1313 
    14 Imagine a list of scalar values, if the argument is about what is a constant, and the `for/of` becomes natural choice. 
     14Imagine a list of scalar values, if the argument is about what is a constant, then the `for/of` becomes natural choice. 
    1515 
    1616> Our policy should be to use `let` everywhere and use `const` only for the cases where there's a ''strong assumption'' that the value must remain constant.