5 ms·
This seems like a cool project, but Q is already a well-used JS promise library so there's a bit of a name conflict there even if the libs are aimed at very dif
by hipsters_unite 13y ago
This seems like a cool project, but Q is already a well-used JS promise library so there's a bit of a name conflict there even if the libs are aimed at very different tasks...
- vog 13y agoAny library with a really short name (<= 2 letters) should be prepared for name collisions. If they wanted to avoid name collisions, they should have chosen a slightly longer, more descriptive name in the first place. I think in this context (i.e. really short name) it doesn't really matter who was first.
- mjn 13y agoAnd the JS promise library in turn collided with the name of Q, the array-processing language, which itself collided with the name of another programming language named Q (http://q-lang.sourceforge.net http://q-lang.sourceforge.net). If you're naming a tech-related thing after about 1980, the single-letter names are all taken...
- hipsters_unite 13y agoHaha, well fair enough - even more reason to have checked I suppose. Maybe textQ would be more appropriate given this project's use case?
- rpicard 13y agoFunny enough, another commenter mentioned a similar project in Go called "TextQL." https://news.ycombinator.com/item?id=7290739 https://news.ycombinator.com/item?id=7290739 https://github.com/dinedal/textql https://github.com/dinedal/textql
- hipsters_unite 13y agoThis is why I should not be allowed to name things, clearly.
- rpicard 13y agoNah, I don't see a problem with name collisions in small or relatively unrelated projects like this.
- borntyping 13y agoIt's also the name of a well known Python debugging tool[1]. Name conflicts will happen when you pick a name for shortness, not clarity. [1] https://pypi.python.org/pypi/q https://pypi.python.org/pypi/q
- 1ris 13y agoOr a APL family Programming language, marketed for writing queries. This could lead to some trouble. http://en.wikipedia.org/wiki/Q_%28programming_language_from_Kx_Systems%29 http://en.wikipedia.org/wiki/Q_%28programming_language_from_...
- mbreese 13y agoIt's also a single letter in the alphabet. Anyone who names their project a single letter (or two) is expecting some amount of collision. The real question is whether or not the collision is worth it. In this case, it might be... they are trying to make a command-line tool. So in theory, you'll be typing the command often, meaning that a short name is preferable. But honestly, it would have probably been a better idea to use a more descriptive name.
- harelba 13y agoHi, i'm q's creator (HN made the name q uppercase, but it's actually a lowercase q). The reasoning was that it's used as a command line tool, and used often. So "q" and not "Q" :)I'm currently preparing the debian package, and one-letter names are not allowed, so it's going to be named "qsql" there.
- chalst 13y agoGiven that the command argument is in full SQL notation, which must be passed quoted, saving three or four characters on the executable name doesn't really seem worth it. The shortest example they give, a SELECT/GROUP query, is over 50 characters.