Hacker News new | ask | show | jobs
by GordonS 1892 days 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.
1 comments

Lazy 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).

It'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.