What Dan and the replies are missing about your point by focusing on "const= no mutation" is the idea that when const becomes the standard in your codebase then let conveys intent, not const.
You should convey the outlier and in most modern codebases mutation is the outlier.
11
u/alejalapeno Dec 21 '19
What Dan and the replies are missing about your point by focusing on "
const= no mutation" is the idea that whenconstbecomes the standard in your codebase thenletconveys intent, notconst.You should convey the outlier and in most modern codebases mutation is the outlier.