4 ms·
Nice but I wish people wouldn't use names like "w", "tuple" or "string" for variables. Tuple of what? The analysis that is needed for the reader to figure that
by natch 13y ago
Nice but I wish people wouldn't use names like "w", "tuple" or "string" for variables. Tuple of what? The analysis that is needed for the reader to figure that out, however short, is friction you are adding to the code readability. The shame of it is this kind of friction is totally unnecessary. Looking forward to giving this a whirl though.
- noonespecial 13y agoOne of my professors used to relentlessly say "name it for what it stores, not for what it is", and would mark off for anything less.
- jondot 13y agoYup. Ironically, I'm a big advocate of good naming in production code. Unfortunately what the git logs don't show is that some of that code was written very late at night (where my spare time lives), and sometimes I neglected to do that out of sheer tiredness. I will definitely try to improve on that when needed, thanks!
- natch 13y agoWow, thanks for the positive reaction to my comments. A breath of fresh air.