To never use single character variable names. I think a variable name’s length should reflect its scope — a function that’s only a few lines long can use single letters no problem.
share with friends
@lemonthymeshortbread wrote on textlog https://textlog.cc/post/3244
@asmund🥷profilefollowFather, getting older every day, technologist, enterprise architect @ work, like to explore tech. Like to keep it simple and work in the shell, write in vim, prefer Debian if I have the choice. Plays saxophone and clarinet. Enjoy motorcycle riding, photography, hiking. Christian.replied to@lemonthymeshortbreadprofilefollowI carved wooden spoons and my favourite herb is lemon thyme.:
Fully agree - if you have the full function or scope of the variable in sight, keeping the variable short make it easy to read and quick to type. Of course if you program in something like k or goal, almost everything is single letter (: