Skip to main content
Inclusive language.
Source Link
marstato
  • 4.6k
  • 2
  • 17
  • 31

One advantage of using final / const wherever possible is that it reduces the mental load for readers of your code.

Readers can be restare assured, that the value / reference is never altered later on. So developers need not pay attention to modifications in order to understand the computation.

I've have changed my mind regarding this after learning pure-functional programming languages. It's a relief knowing you can trust that a "variable" always holds its initial value.

One advantage of using final / const wherever possible is that it reduces the mental load for readers of your code.

Readers can be rest assured, that the value / reference is never altered later on. So developers need not pay attention to modifications in order to understand the computation.

I've have changed my mind regarding this after learning pure-functional programming languages. It's a relief knowing you can trust that a "variable" always holds its initial value.

One advantage of using final / const wherever possible is that it reduces the mental load for readers of your code.

Readers are assured that the value / reference is never altered later on. So developers need not pay attention to modifications in order to understand the computation.

I've have changed my mind regarding this after learning pure-functional programming languages. It's a relief knowing you can trust that a "variable" always holds its initial value.

One advantage of using final / const wherever possible is that it reduces the mental load for the readerreaders of your code.

HeReaders can be rest assured, that the value / reference is never altered later on. So he does notdevelopers need tonot pay attention to modifications in order to understand the computation.

I've have changed my mind regarding this after learning pure-functional programming languages. Boy, whatIt's a relieve, ifrelief knowing you can trust that a "variable" to always holdholds its initial value.

One advantage of using final / const wherever possible is that it reduces the mental load for the reader of your code.

He can be rest assured, that the value / reference is never altered later on. So he does not need to pay attention to modifications in order to understand the computation.

I've have changed my mind regarding this after learning pure-functional programming languages. Boy, what a relieve, if you can trust a "variable" to always hold its initial value.

One advantage of using final / const wherever possible is that it reduces the mental load for readers of your code.

Readers can be rest assured, that the value / reference is never altered later on. So developers need not pay attention to modifications in order to understand the computation.

I've have changed my mind regarding this after learning pure-functional programming languages. It's a relief knowing you can trust that a "variable" always holds its initial value.

Source Link

One advantage of using final / const wherever possible is that it reduces the mental load for the reader of your code.

He can be rest assured, that the value / reference is never altered later on. So he does not need to pay attention to modifications in order to understand the computation.

I've have changed my mind regarding this after learning pure-functional programming languages. Boy, what a relieve, if you can trust a "variable" to always hold its initial value.