http://qs1969.pair.com?node_id=301292

How about a CVS repository for 'Code' and 'Snippets'? This would increase the quality of code posted there and make it easier to integrate into other projects.

Replies are listed 'Best First'.
Re: CVS Repositories
by chromatic (Archbishop) on Oct 22, 2003 at 17:47 UTC

    I'm curious; how does source control improve the quality of code?

      I totally agree. CVS doesn't improve the quality of the code. A piece of bad code is a piece of bad code regardless whether it is in CVS or not.

Re: CVS Repositories
by ehdonhon (Curate) on Oct 22, 2003 at 19:11 UTC

    Who has time to go back and maintain 'Snippets'? Given the tendency of people to post the same things over and over in regular intervals anyway, I suspect we would have a lot of code with one single commit.

    For actuall Code, I think there are already a lot of places out there that fill that Niche, including CPAN, Sourceforge, etc..

    It is good thinking, but I doubt it would end up being worth the effort of setting it up.

Re: CVS Repositories
by blue_cowdawg (Monsignor) on Oct 23, 2003 at 15:40 UTC

    In my not so humble opinion I think that if it ain't broke don't fix it. Also in my not so humble opinion "Code;" and "Snippets" ain't broke.

    Also why add more overhead to this site?


    Peter L. Berghold -- Unix Professional
    Peter at Berghold dot Net
       Dog trainer, dog agility exhibitor, brewer of fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and a good Belgian ale in your chalice.
Re: CVS Repositories
by dragonchild (Archbishop) on Oct 22, 2003 at 17:39 UTC
    Would there be a way to integrate this idea with Sourceforge, should it take wings?

    ------
    We are the carpenters and bricklayers of the Information Age.

    The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6

    ... strings and arrays will suffice. As they are easily available as native data types in any sane language, ... - blokhead, speaking on evolutionary algorithms

    Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

      Source Forge does have a web CVS browser that I've used in the past to paste 'links' to code. But displaying code in a "code node" would be tricky. Also you'd need a repository for such things, of course it could be an existing repository under something like "ptkdb_pm_code_nodes"

      What I was thinking about was that at a certain PM level here, you would get a repository, and that code node displays could be drawn from that repository to allow monks to update code in response to commentary, votes, etc.

      anyone else think it's fun to say 'code node'?

Re: CVS Repositories
by sweetblood (Prior) on Oct 22, 2003 at 19:55 UTC
    I think it would be important to implement some duplication detection. It's more complex than CVS in an environment as large as Perlmonks. IMHO

    I do think the idea has merit though.

Re: CVS Repositories
by Anonymous Monk on Oct 23, 2003 at 02:09 UTC
    How would this work?