What do you think about expressive variable names? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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/

2nd Mar 2018, 10:29 AM
Guillermo Massó
Guillermo Massó - avatar
3 Answers
+ 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...
2nd Mar 2018, 10:42 AM
Farshaad Heydari
Farshaad Heydari - avatar
+ 2
i usually name them according to their role
2nd Mar 2018, 10:33 AM
Dominique Abou Samah
Dominique Abou Samah - avatar
2nd Mar 2018, 11:14 AM
Guillermo Massó
Guillermo Massó - avatar