+ 1
What do you think about expressive variable names?
I read a lot of code here with single-letter variable names. I recently read this article about the issue of variable names expressiveness. I think it's a really important issue, what do you think? Are you engaged with your code's legibility? https://spin.atomicobject.com/2017/11/01/good-variable-names/
3 ответов
+ 3
yes.
when I started to code I had allot of problems trying to build a selection sort algorithm.
but once the I named my variables more efficient the hole code became Crystal clear.....
I name my variables in a very , very explanatory way ever since...
+ 2
i usually name them according to their role
0
Another interesting article about this issue:
https://lostechies.com/derickbailey/2010/04/22/expressive-code-good-variable-names-instead-of-magic-values-and-calculations/