4 ms·
It seems to be a matter of personal preference, but I've never liked single-character aliases myself, and never understood why so many seem to.
by GordonS 6y ago
It seems to be a matter of personal preference, but I've never liked single-character aliases myself, and never understood why so many seem to.
- dspillett 6y agoLazy typing: t is shorter than tableWithTheDataIWantIn I prefer descriptive table and other object names, and abbreviate them in aliases within queries (though usually not to single letters).
- markmark 6y agoIt's not just about lazy typing it's about removing unnecessary clutter from large queries that makes things harder to read. In the author/books example, repeating the words author and books a dozen times doesn't convey any information that a and b don't, but clutters up the query making it harder to see the useful parts.