-
Notifications
You must be signed in to change notification settings - Fork 7.3k
add 'subprocess' alias to 'child_process' ? #1549
Comments
+1
Not sure if 'subprocess' is much better. What about naming the module Should all be doable while keeping backwards compatibility until we do hard deprecation. |
I like felixge's suggestion. |
|
+1 also. everything 'native' has been pretty short and sweet without underscores, except for child_process and now string_decoder. maybe should pick a new name for it too. |
Can someone review koichik/node@d79a08c? |
@koichik: There are two issues with the patch.
|
subprocess is what python calls it. What do other languages use? |
I used
okay. |
@koichik : Reviewed it and <3 the patch : ). But I agree with @bnoordhuis that waiting until 0.6's EOL sounds good. |
I've always hated "child_process" as well. Sadly, there are two problems with this proposal:
Given that it is too late to remove "child_process" safely, the result of this is that we'll end up with an alias, which also must be maintained forever, and will cause confusion because new users won't understand why there are two names for the same thing. And having two names is even less elegant than one, even if that one is not so elegant. I'm going to close this. @bnoordhuis @felixge @koichik If you feel that this line of reasoning is faulty, then please reopen. We can take the discussion to the userlist to get more people weighing in on it and help judge how much chaos it'll cause. If we do end up doing this, then we'll need to do it soon. I want to be prepared to say that the list of modules in 0.8 is final. |
I wouldn't call it faulty but I don't see a problem with having an alias and phasing that out like we did with the sys module. There were of course people grumbling over that but that's an inescapable fact of life, they'll get over it. We should do a better job documenting NODE_DEBUG next time, though. :-) |
Six years later, some people (or alt least myself) still think isn't a great name, you should have renamed it. |
Hello @joaquinperaza, thank you for the feedback. As you might have noticed, this is an archived repo, the active repo is at https://github.com/nodejs/node/issues/ |
i've always hated the name 'child_process' but does this incur needless confusion?
The text was updated successfully, but these errors were encountered: