Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: CPAN Modules on Github -- Naming conventions?

by JavaFan (Canon)
on Jun 09, 2009 at 21:44 UTC ( #770111=note: print w/ replies, xml ) Need Help??


in reply to CPAN Modules on Github -- Naming conventions?

Well, if I had it my way, I'd call my github projects the same as the (main) namespace of the project I'd write. But github doesn't let me. I can't name a project Foo::Bar. So I use foo-bar.

As for -perl or -cpan suffixes, feel free to do so. Just don't expect me to do so. The added benefit is certainly not "Clear" to me.

Thoughts on a naming standard?

My only thought is a question, why is a standard needed, and what is its benefit? And furthermore, who's going to control it if you were to start one?


Comment on Re: CPAN Modules on Github -- Naming conventions?
Re^2: CPAN Modules on Github -- Naming conventions?
by tilly (Archbishop) on Jun 09, 2009 at 22:29 UTC
    The added benefit comes when you want to port a project you wrote in one language to another language.

    The possibility of interested people porting from Perl 5 to Rakudo (aka Perl 6) suggests that saying p5 is better than saying perl or cpan somewhere in the name. (Plus p5 is short. Short is good.) The fact that p5-... looks similar to existing naming conventions suggests to me that this is a good way to name things.

    Whether we should get all official and call it a "standard" is another thing entirely. But I'm definitely OK with calling it a "suggestion".

    Update: I left out a "p5".

Re^2: CPAN Modules on Github -- Naming conventions?
by saintmike (Vicar) on Jun 09, 2009 at 22:42 UTC
    As for -perl or -cpan suffixes, feel free to do so. Just don't expect me to do so. The added benefit is certainly not "Clear" to me.

    The benefit is that "libnet" (a C++ project, maybe the original project) won't clash with "libnet-perl" (the CPAN module). Also, if you're searching for a CPAN module on github, it helps if you can apply simple logic to get to the name of the github project instead of trying three different possibilities.

    My only thought is a question, why is a standard needed, and what is its benefit? And furthermore, who's going to control it if you were to start one?

    I'm not proposing a compulsory standard (which would be impossible to control anyway), but a naming convention like on CPAN: Sure, a couple of extroverted personalities are squatting in the top level namespace (Mr Ingerson comes to mind), but the majority are good citizens who get along just fine.

    One could argue that github should take control of this, but I'm afraid the genie is out of the bottle already.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://770111]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2014-12-29 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls